body {
    background: #f4f7fb;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #dceefb 0%, #eef6fc 45%, #f7fafc 100%);
    color: #1e3a5f;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 1.5rem;
}

.login-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: #fff;
    border: 3px solid #8ed8f8;
    box-shadow: 0 10px 30px rgba(0, 120, 190, 0.12);
    overflow: hidden;
    margin-bottom: 1rem;
}

.login-logo-wrap img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.login-brand-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f2d52;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}

.login-brand-subtitle {
    font-size: 0.95rem;
    color: #6b7f96;
    margin: 0;
}

.login-card {
    width: 100%;
    max-width: 440px;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 45, 82, 0.1);
    background: #fff;
}

.login-card-body {
    padding: 2rem 2rem 1.75rem;
}

.login-card-heading {
    margin-bottom: 1.5rem;
}

.login-card-heading h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f2d52;
    margin-bottom: 0.25rem;
}

.login-card-heading p {
    color: #7a8da3;
    margin: 0;
    font-size: 0.92rem;
}

.login-field-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4f6278;
    margin-bottom: 0.45rem;
}

.login-input-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1.5px solid #d7e5f2;
    border-radius: 14px;
    background: #f8fbfe;
    padding: 0.7rem 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.login-input-group:focus-within {
    border-color: #4db8e8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(77, 184, 232, 0.15);
}

.login-input-group i {
    color: #8aa0b5;
    font-size: 1rem;
    flex-shrink: 0;
}

.login-input-group input {
    border: 0;
    background: transparent;
    width: 100%;
    padding: 0;
    font-size: 0.95rem;
    color: #1e3a5f;
    outline: none;
    box-shadow: none;
}

.login-input-group input::placeholder {
    color: #a8b8c8;
}

.login-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: #fff;
    background: linear-gradient(135deg, #f07830 0%, #e85d24 100%);
    box-shadow: 0 10px 24px rgba(232, 93, 36, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-submit-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(232, 93, 36, 0.34);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-footer-note {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.82rem;
    color: #8aa0b5;
}

.login-alert {
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar,
.sidebar-offcanvas {
    width: 280px;
    background: #0b5ed7;
    color: #fff;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    transition: width 0.25s ease, opacity 0.2s ease;
}

.sidebar-collapse-btn {
    position: absolute;
    top: 0.85rem;
    right: 0.65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.sidebar-expand-btn {
    display: none;
    position: fixed;
    left: 0;
    top: 1rem;
    z-index: 1040;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    background: #0b5ed7;
    color: #fff;
    box-shadow: 0 2px 8px rgba(11, 94, 215, 0.35);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.sidebar-expand-btn:hover {
    background: #0a58ca;
    color: #fff;
}

@media (min-width: 992px) {
    .app-wrapper.sidebar-collapsed .sidebar {
        width: 0;
        min-width: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .app-wrapper.sidebar-collapsed .sidebar-expand-btn {
        display: inline-flex;
    }
}

.sidebar-brand {
    background: rgba(0, 0, 0, 0.12);
    padding-right: 3rem;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
    margin: 0.15rem 0.75rem;
    padding: 0.55rem 0.85rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.color-preview {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule-grid .coach-column {
    min-width: 220px;
}

.compare-bar {
    background: #f0f6ff;
    border: 1px solid #cfe2ff;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    color: #1e3a5f;
}

.compare-bar-label {
    font-size: 0.92rem;
}

#scheduleGrid.schedule-grid--compare {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-left: 0;
    margin-right: 0;
}

#scheduleGrid.schedule-grid--compare > .col-compare {
    flex: 1 1 50%;
    min-width: 0;
    max-width: 50%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#scheduleGrid.schedule-grid--compare .coach-card {
    height: 100%;
}

#scheduleGrid.schedule-grid--compare .coach-name-col {
    flex: 0 0 120px;
    padding: 0.75rem 0.5rem;
}

#scheduleGrid.schedule-grid--compare .coach-export-actions .btn {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
}

.coach-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    height: 100%;
    margin-bottom: 0.75rem;
}

.coach-schedule-row {
    display: flex;
    align-items: stretch;
    min-height: 80px;
}

.coach-name-col {
    flex: 0 0 140px;
    padding: 1rem 0.75rem;
    font-weight: 600;
    border-right: 1px solid #edf2f7;
    background: #fafcff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
}

.coach-name-text {
    width: 100%;
}

.coach-export-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.25rem;
}

.coach-export-actions .btn {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
}

.coach-capture-mode {
    width: max-content !important;
    max-width: none !important;
}

.coach-capture-mode .coach-schedule-row {
    flex-wrap: nowrap !important;
    width: max-content !important;
}

.coach-capture-mode .coach-days-scroll {
    overflow: visible !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
}

.coach-capture-mode .coach-name-col {
    flex: 0 0 140px !important;
}

.coach-capture-mode .add-slot-btn,
.coach-capture-mode .add-kolam-block-btn,
.coach-capture-mode .add-jam-btn,
.coach-capture-mode .add-hari-btn,
.coach-capture-mode .day-note-btn,
.coach-capture-mode .delete-hari-btn,
.coach-capture-mode .coach-export-actions {
    visibility: hidden !important;
}

.coach-days-scroll {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    padding: 0.75rem 0.5rem 1rem;
}

.coach-days-scroll::-webkit-scrollbar {
    height: 6px;
}

.coach-days-scroll::-webkit-scrollbar-thumb {
    background: #d7dee8;
    border-radius: 3px;
}

.coach-inactive {
    opacity: 0.75;
}

.day-block {
    flex: 0 0 162px;
    min-width: 162px;
    padding: 0 0.5rem;
    border-right: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
}

.day-block:last-child {
    border-right: 0;
}

.day-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    flex-shrink: 0;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 0.45rem;
    margin-bottom: 0.5rem;
}

.day-slots {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1 1 auto;
}

.day-header-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.day-action-row {
    display: flex;
    gap: 0.3rem;
    width: 100%;
}

.day-action-row-split .day-action-btn:only-child {
    flex: 1 1 100%;
}

.day-action-row-split .day-action-btn {
    flex: 1 1 50%;
    min-width: 0;
}

.day-action-btn-block {
    width: 100%;
}

.day-header-actions .day-action-btn {
    min-height: 28px;
    padding: 0.35rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
}

.day-header-actions .add-jam-btn,
.day-header-actions .add-jam-btn:hover,
.day-header-actions .add-jam-btn:focus {
    border: 1px solid #cfe2ff;
    background: #f5f9ff;
    color: #0d6efd;
}

.day-header-actions .add-jam-btn:hover {
    background: #eef5ff;
    border-color: #0d6efd;
}

.day-header-actions .add-kolam-block-btn,
.day-header-actions .add-kolam-block-btn:hover,
.day-header-actions .add-kolam-block-btn:focus {
    border: 1px solid #cfe2ff;
    border-radius: 6px;
    background: #f5f9ff;
    color: #0d6efd;
    margin: 0;
}

.day-header-actions .add-kolam-block-btn:hover {
    background: #eef5ff;
    border-color: #0d6efd;
    color: #0a58ca;
}

.day-header-actions .day-note-btn,
.day-header-actions .day-note-btn:hover,
.day-header-actions .day-note-btn:focus {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    color: #495057;
}

.day-header-actions .day-note-btn:hover {
    background: #eef2f6;
    color: #0d6efd;
    border-color: #ced4da;
}

.day-header-actions .delete-hari-btn,
.day-header-actions .delete-hari-btn:hover,
.day-header-actions .delete-hari-btn:focus {
    border: 1px solid rgba(220, 53, 69, 0.28);
    background: #fff5f5;
    color: #dc3545;
}

.day-header-actions .delete-hari-btn:hover {
    background: #ffe8ea;
    border-color: rgba(220, 53, 69, 0.45);
}

.add-jam-btn,
.add-jam-btn:hover,
.add-jam-btn:focus {
    border: 0;
    background: transparent;
    color: #0d6efd;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    line-height: 1.2;
    text-decoration: none;
}

.add-jam-btn:hover {
    background: rgba(13, 110, 253, 0.08);
}

.delete-hari-btn,
.delete-hari-btn:hover,
.delete-hari-btn:focus {
    border: 0;
    background: transparent;
    color: #dc3545;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    line-height: 1.2;
    text-decoration: none;
}

.delete-hari-btn:hover {
    background: rgba(220, 53, 69, 0.08);
}

.confirm-modal .modal-content {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 45, 82, 0.18);
}

.confirm-modal-body {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.confirm-modal-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.confirm-modal-message {
    font-size: 0.98rem;
    color: #1e3a5f;
}

.app-swal-popup {
    border-radius: 16px !important;
    padding: 1.25rem 1.25rem 1rem !important;
}

.app-swal-popup .swal2-title {
    font-size: 1.2rem;
    color: #0f2d52;
}

.app-swal-popup .swal2-html-container {
    font-size: 0.95rem;
    color: #4f6278;
}

.day-note-btn,
.day-note-btn:hover,
.day-note-btn:focus {
    border: 0;
    background: transparent;
    color: #5a6f86;
    font-size: 0.62rem;
    line-height: 1.1;
    padding: 0.1rem 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    white-space: nowrap;
}

.day-note-btn:hover {
    color: #0d6efd;
}

.day-note-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    margin: 0 0 0.45rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid #ffe08a;
    border-radius: 8px;
    background: #fff9e6;
    color: #7a5b00;
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: left;
}

.day-note-banner:hover {
    background: #fff4cc;
    color: #5c4600;
}

.day-note-banner span {
    white-space: normal;
    word-break: break-word;
}

.day-note-readonly {
    cursor: default;
}

.jadwal-time-readonly {
    border: 0;
    background: transparent;
    color: #6c757d;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0;
    cursor: default;
}

.kolam-block-readonly,
.kolam-block-readonly:hover,
.kolam-block-readonly:focus {
    cursor: default;
    pointer-events: none;
}

.day-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

.kolam-gap-separator {
    margin: 0.5rem 0;
    border-top: 1px dashed #d7dee8;
}

.kolam-block-group {
    margin-bottom: 0;
    padding: 0.45rem 0.45rem 0.2rem 0.55rem;
    border-left: 2px solid #cfe0f7;
    border-radius: 0 10px 10px 0;
    background: rgba(250, 252, 255, 0.7);
}

.kolam-block-card,
.kolam-block-card:hover,
.kolam-block-card:focus,
.kolam-block-card:active {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    margin: 0 0 0.45rem;
    padding: 0.4rem 0.5rem;
    border: 1px dashed #b8d0ea;
    border-radius: 10px;
    background: #f5f9ff;
    color: #3d5a80;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.kolam-block-card:hover {
    border-color: #0d6efd;
    background: #eef5ff;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.07);
}

.kolam-block-card:focus-visible {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.18);
}

.kolam-block-name {
    color: #2c4a6e;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: normal;
    line-height: 1.2;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.kolam-block-slots {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.kolam-block-slots .time-slot {
    margin-bottom: 0;
}

.kolam-block-slots .time-slot:last-child {
    margin-bottom: 0;
}

.add-kolam-block-btn,
.add-kolam-block-btn:hover,
.add-kolam-block-btn:focus {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0.22rem 0.5rem;
    border: 1px dashed #b8d0ea;
    border-radius: 999px;
    background: #f5f9ff;
    color: #0d6efd;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.add-kolam-block-btn:hover {
    border-color: #0d6efd;
    background: #eef5ff;
    color: #0a58ca;
    text-decoration: none;
}

.time-slot {
    border: 1px dashed #d7dee8;
    border-radius: 10px;
    padding: 0.55rem;
    margin-bottom: 0;
    width: 100%;
    background: #fafcff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.time-slot:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.08);
}

.time-slot-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.35rem;
}

.jadwal-time-label {
    border: 0;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.jadwal-time-label:hover,
.jadwal-time-label:focus {
    color: #0d6efd;
    text-decoration: underline;
}

.booking-badge {
    display: block;
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    border: 0;
    width: 100%;
    max-width: 100%;
    text-align: left;
    cursor: grab;
    touch-action: none;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: visible;
    height: auto;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
}

.booking-badge:active {
    cursor: grabbing;
}

.booking-badge-dragging {
    opacity: 0.55;
}

.time-slot-drop-target {
    border-color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.08) !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2) !important;
}

.schedule-moving {
    pointer-events: none;
    opacity: 0.92;
}

.booking-badge small {
    display: block;
    font-weight: 400;
    opacity: 0.9;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: visible;
    line-height: 1.25;
    margin-top: 0.1rem;
}

.booking-badge-highlight {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
    animation: bookingPulse 1s ease 2;
}

@keyframes bookingPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(13, 110, 253, 0); }
}

.student-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.student-search-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.student-search-item:hover {
    background: #f8f9fa;
}

.student-search-item + .student-search-item {
    border-top: 1px solid #f1f3f5;
}

.coach-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.coach-search-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.coach-search-item:hover {
    background: #f8f9fa;
}

.coach-search-item + .coach-search-item {
    border-top: 1px solid #f1f3f5;
}

.kolam-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.kolam-search-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.kolam-search-item:hover {
    background: #f8f9fa;
}

.kolam-search-item + .kolam-search-item {
    border-top: 1px solid #f1f3f5;
}

.kolam-block-card-highlight {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
    animation: kolamBlockPulse 1s ease 2;
}

@keyframes kolamBlockPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(13, 110, 253, 0); }
}

.coach-card-highlight {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
    animation: coachCardPulse 1s ease 2;
}

@keyframes coachCardPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(13, 110, 253, 0); }
}

.add-slot-btn {
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
}

.jam-checkboxes,
.day-checkboxes,
.coach-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}

.jam-check,
.day-check,
.coach-check {
    min-width: 64px;
    margin-right: 0 !important;
}

.jam-check .form-check-label,
.day-check .form-check-label {
    font-variant-numeric: tabular-nums;
}

.booking-audit-meta {
    margin-top: 0.25rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #edf2f7;
}

.booking-audit-line {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #6c757d;
}

.booking-audit-line + .booking-audit-line {
    margin-top: 0.35rem;
}

.compare-cabang-tabs .nav-link {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
}

.compare-summary-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    height: 100%;
}

.compare-summary-card--digital {
    border-left: 4px solid #0d6efd;
}

.compare-summary-card--ammarku {
    border-left: 4px solid #fd7e14;
}

.compare-summary-label {
    font-size: 0.82rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.compare-summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.compare-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: #6c757d;
}

.compare-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.compare-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.compare-coach-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    overflow: hidden;
}

.compare-coach-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: #fafcff;
    border-bottom: 1px solid #edf2f7;
}

.compare-coach-title {
    font-weight: 600;
    font-size: 1rem;
}

.compare-coach-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 120px;
}

.compare-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.compare-column--digital {
    border-right: 1px solid #edf2f7;
}

.compare-column-header {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
    border-bottom: 1px solid #edf2f7;
}

.compare-column--digital .compare-column-header {
    color: #0d47a1;
}

.compare-column--ammarku .compare-column-header {
    color: #9a4b00;
}

.compare-column-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.compare-empty {
    color: #adb5bd;
    font-size: 0.88rem;
    font-style: italic;
    padding: 0.5rem 0.25rem;
}

.compare-entry {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.compare-entry--digital {
    border-left: 4px solid #0d6efd;
    background: #f7faff;
}

.compare-entry--ammarku {
    border-left: 4px solid #fd7e14;
    background: #fffaf5;
}

.compare-entry-time {
    flex: 0 0 42px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #495057;
    font-variant-numeric: tabular-nums;
}

.compare-entry-main {
    min-width: 0;
    flex: 1;
}

.compare-entry-name {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
    word-break: break-word;
}

.compare-entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.compare-paket-badge {
    display: inline-block;
    font-size: 0.72rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    line-height: 1.3;
}

.compare-paket-text {
    font-size: 0.78rem;
    color: #6c757d;
}

.compare-status-badge {
    font-size: 0.68rem;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .compare-coach-body {
        grid-template-columns: 1fr;
    }

    .compare-column--digital {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
    }
}

@media (max-width: 991.98px) {
    .app-wrapper {
        display: block;
    }

    .main-content {
        min-height: calc(100vh - 56px);
    }
}
