/* =========================================================
   RideMonkey Service Report
   ========================================================= */

.rm-service-report {
    width: 100%;
}


/* ---------------------------------------------------------
   Choice step — shown before a report type is picked
   --------------------------------------------------------- */

.rm-service-report-choice-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 14px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.rm-service-report-choice-heading {
    margin: 0 0 10px;

    color: #222222;

    font-size: 19px;
    font-weight: 700;
}

.rm-service-schedule-intro {
    margin: 0 0 16px;

    color: #666666;

    font-size: 13px;
    line-height: 1.5;
}

.rm-report-generate-row {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;
    margin-bottom: 12px;
}

.rm-report-generate-radio {
    display: flex;

    align-items: center;
    gap: 6px;

    color: #222222;

    font-size: 13px;
    font-weight: 600;
}

.rm-covers-checkbox {
    display: flex;

    align-items: center;
    gap: 6px;

    color: #222222;

    font-size: 13px;
}

.rm-report-generate-costs {
    margin-bottom: 4px;
}

.rm-coverage-save-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.rm-coverage-save-button {
    padding: 10px 28px;

    background: #ff4b00 !important;

    border: none !important;
    border-radius: 20px !important;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.rm-coverage-save-button:hover {
    background: #e04300 !important;
}

.rm-report-controls {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;

    background: #fff8f0;

    border: 1px solid #ffd9b8;
    border-radius: 12px;
}

.rm-report-controls-hint {
    flex: 1;
    min-width: 200px;

    color: #666666;

    font-size: 13px;
}

.rm-report-print-button {
    padding: 10px 20px;

    background: #ff4b00;

    border: none;
    border-radius: 20px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    white-space: nowrap;
}

.rm-report-print-button:hover {
    background: #e04300;
}

.rm-report-sheet {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 14px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.rm-report-header {
    display: flex;

    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;

    border-bottom: 2px solid #ff4b00;
}

.rm-report-logo {
    width: 64px;
    height: auto;
}

.rm-report-header-text h1 {
    margin: 0 0 2px;

    color: #222222;

    font-size: 20px;
    font-weight: 700;
}

.rm-report-header-text p {
    margin: 0;

    color: #666666;

    font-size: 13px;
}

.rm-report-bike-summary {
    margin-bottom: 24px;
}

.rm-report-bike-summary h2 {
    margin: 0 0 4px;

    color: #222222;

    font-size: 18px;
    font-weight: 700;
}

.rm-report-bike-details {
    margin: 0 0 4px;

    color: #444444;

    font-size: 14px;
}

.rm-report-stats-row {
    display: flex;
    flex-wrap: wrap;

    gap: 6px 18px;
    margin-top: 12px;

    color: #666666;

    font-size: 13px;
}

.rm-report-section-heading {
    margin: 28px 0 12px;
    padding-bottom: 6px;

    border-bottom: 1px solid #eeeeee;

    color: #222222;

    font-size: 15px;
    font-weight: 700;
}

.rm-report-empty {
    color: #999999;

    font-size: 13px;
    font-style: italic;
}

.rm-report-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rm-report-table {
    width: 100%;
    min-width: 560px;

    border-collapse: collapse;

    font-size: 12px;
}

.rm-report-table th,
.rm-report-table td {
    padding: 8px 10px;

    border-bottom: 1px solid #eeeeee;

    text-align: left;

    vertical-align: top;
}

.rm-report-table th {
    background: #faf9f6;

    color: #666666;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.rm-report-table td {
    color: #222222;
}

.rm-report-footer {
    margin-top: 30px;
    padding-top: 16px;

    border-top: 1px solid #eeeeee;

    color: #999999;
    text-align: center;

    font-size: 11px;
}


/* =========================================================
   Print — hide the app's own chrome, keep only the report
   ========================================================= */

@media print {

    .rm-app-header,
    .rm-app-desktop-nav,
    .rm-app-mobile-nav,
    .rm-report-controls {
        display: none !important;
    }

    .rm-app-content {
        padding: 0 !important;
    }

    .rm-report-sheet {
        padding: 0;

        border: none;
        box-shadow: none;
    }

    .rm-report-table {
        page-break-inside: auto;
    }

    .rm-report-table-wrap {
        overflow-x: visible;
    }

    .rm-report-table {
        min-width: 0;
    }

    .rm-report-table tr {
        page-break-inside: avoid;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .rm-report-sheet {
        padding: 18px;
    }

    .rm-report-header {
        flex-direction: column;

        text-align: center;
    }

    .rm-report-table {
        font-size: 11px;
    }

    .rm-report-table th,
    .rm-report-table td {
        padding: 6px;
    }

}