/**
 * TRIPLINK - Group Ticket Reservation
 * Color Scheme: 60-30-10 Rule
 */

:root {
    /* Dominan 60% - Background */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F9FA;

    /* Sekunder 30% - Brand/Navigasi */
    --color-secondary: #0F2C59;
    --color-secondary-light: #1a3d7a;
    --color-secondary-dark: #0a1f3d;

    /* Aksen 10% - CTA/Tombol */
    --color-accent: #4CC9F0;
    --color-accent-hover: #3ab8df;
    --color-accent-dark: #2aa8cf;

    /* Semantik */
    --color-success: #00A86B;
    --color-warning: #FF9F1C;
    --color-danger: #E71D36;
    --color-info: #3A86C4;

    /* Teks */
    --color-text: #212529;
    --color-text-secondary: #6C757D;
    --color-icon: #495057;

    /* Layout */
    --navbar-height: 64px;
    --bottom-nav-height: 70px;
    --border-radius: 12px;
    --shadow: 0 2px 12px rgba(15, 44, 89, 0.08);
    --shadow-lg: 0 8px 30px rgba(15, 44, 89, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ========== TOP NAVBAR (Desktop) ========== */
.navbar-triplink {
    background-color: var(--color-secondary);
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-triplink .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
    letter-spacing: 1px;
}

.navbar-triplink .navbar-brand span {
    color: var(--color-accent);
}

.navbar-triplink .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-triplink .nav-link:hover,
.navbar-triplink .nav-link.active {
    color: #fff !important;
    background-color: rgba(76, 201, 240, 0.15);
}

.navbar-triplink .nav-link.active {
    border-bottom: 2px solid var(--color-accent);
}

/* ========== BOTTOM NAV (Mobile) ========== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background-color: var(--color-secondary);
    box-shadow: 0 -2px 12px rgba(15, 44, 89, 0.15);
    z-index: 1030;
    padding: 0.5rem 0;
}

.bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.bottom-nav .nav-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    transition: color 0.2s;
}

.bottom-nav .nav-item-link i {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
    color: var(--color-icon);
}

.bottom-nav .nav-item-link.active,
.bottom-nav .nav-item-link:hover {
    color: var(--color-accent);
}

.bottom-nav .nav-item-link.active i,
.bottom-nav .nav-item-link:hover i {
    color: var(--color-accent);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    min-height: calc(100vh - var(--navbar-height));
    padding: 1.5rem 0 2rem;
}

/* ========== CARDS ========== */
.card-triplink {
    background: var(--color-bg);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.card-triplink:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-triplink .card-header {
    background-color: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 1rem 1.25rem;
}

.card-triplink .card-body {
    padding: 1.25rem;
}

#productTable tbody td.product-trimming-soon {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    font-weight: 600;
}

#productTable tbody tr:hover td.product-trimming-soon {
    background-color: #ffe69c !important;
    color: #664d03 !important;
}

#productTable .admin-product-action-btn.dropdown-toggle::after {
    display: none;
}

#productTable .admin-product-action-btn {
    width: 2rem;
    padding-left: 0;
    padding-right: 0;
}

#productTable .dropdown-menu .dropdown-item {
    font-size: 0.875rem;
}

/* ========== BUTTONS ========== */
.btn-accent,
a.btn-accent,
a.btn-accent:visited,
button.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s;
}

.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active,
.btn-accent.active,
a.btn-accent:hover,
a.btn-accent:focus,
a.btn-accent:active,
button.btn-accent:hover,
button.btn-accent:focus,
button.btn-accent:active {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-secondary-brand {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.btn-secondary-brand:hover {
    background-color: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
    color: #fff;
}

.btn-outline-accent {
    border: 2px solid var(--color-accent);
    color: var(--color-accent-dark);
    font-weight: 600;
    border-radius: 8px;
    background: transparent;
}

.btn-outline-accent:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary-dark);
}

/* ========== BADGES ========== */
.badge-success { background-color: var(--color-success) !important; }
.badge-warning { background-color: var(--color-warning) !important; color: #212529 !important; }
.badge-danger  { background-color: var(--color-danger) !important; }
.badge-info    { background-color: var(--color-info) !important; }
.badge-secondary { background-color: var(--color-text-secondary) !important; }

/* Reservation booking status — tiap status warna berbeda */
.badge-res-dpnp {
    background-color: #ff9f1c !important;
    color: #212529 !important;
}
.badge-res-dpr {
    background-color: #3a86c4 !important;
    color: #fff !important;
}
.badge-res-fpnp {
    background-color: #e76f51 !important;
    color: #fff !important;
}
.badge-res-fpr {
    background-color: #6366f1 !important;
    color: #fff !important;
}
.badge-res-complete {
    background-color: var(--color-success) !important;
    color: #fff !important;
}
.badge-res-cancel {
    background-color: var(--color-danger) !important;
    color: #fff !important;
}

/* ========== ALERTS ========== */
.alert-success { background-color: rgba(0, 168, 107, 0.1); border-color: var(--color-success); color: #006b44; }
.alert-warning { background-color: rgba(255, 159, 28, 0.1); border-color: var(--color-warning); color: #8a5a00; }
.alert-danger  { background-color: rgba(231, 29, 54, 0.1); border-color: var(--color-danger); color: #a01025; }
.alert-info    { background-color: rgba(58, 134, 196, 0.1); border-color: var(--color-info); color: #1a5a8a; }

/* ========== STATS CARDS ========== */
.stat-card {
    background: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--color-accent);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-card .stat-label {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.stat-card.stat-success { border-left-color: var(--color-success); }
.stat-card.stat-warning { border-left-color: var(--color-warning); }
.stat-card.stat-info    { border-left-color: var(--color-info); }
.stat-card.stat-danger  { border-left-color: var(--color-danger); }

/* ========== AGENT DASHBOARD ========== */
.agent-dashboard-page .dash-stat-card,
.admin-dashboard-page .dash-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
    height: 100%;
}

.dash-stat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.dash-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.dash-stat-card--blue .dash-stat-icon { background: rgba(58, 134, 196, 0.12); color: #3a86c4; }
.dash-stat-card--orange .dash-stat-icon { background: rgba(255, 159, 28, 0.14); color: #ff9f1c; }
.dash-stat-card--green .dash-stat-icon { background: rgba(0, 168, 107, 0.12); color: #00a86b; }
.dash-stat-card--purple .dash-stat-icon { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }

.dash-sparkline {
    width: 72px;
    height: 28px;
    flex-shrink: 0;
}

.dash-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.1;
}

.dash-stat-value--money {
    font-size: 1.35rem;
}

.dash-stat-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-top: 0.15rem;
    line-height: 1.3;
}

.dash-stat-card--purple .dash-stat-amount {
    color: #7c3aed;
}

.dash-stat-card--green .dash-stat-amount {
    color: #00a86b;
}

.dash-stat-label {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-top: 0.2rem;
}

.dash-stat-label--head {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.75rem;
}

.dash-stat-sublabel {
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.75rem;
}

.dash-stat-trend {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.dash-stat-trend--up { color: #3a86c4; }
.dash-stat-trend--up-purple { color: #7c3aed; }
.dash-stat-trend--down { color: #ff9f1c; }
.dash-stat-trend--muted { color: var(--color-text-secondary); }

.dash-panel .dash-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #edf2f7;
}

.dash-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
}

.dash-panel-title i {
    color: #3a86c4;
}

.dash-panel-body {
    padding: 0.75rem 1rem 1rem;
}

.dash-empty-state {
    text-align: center;
    color: var(--color-text-secondary);
    padding: 2.5rem 1rem;
}

.dash-empty-state i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.55;
}

.dash-dep-item {
    display: grid;
    grid-template-columns: 72px 48px 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.95rem 0.75rem;
    border-radius: 14px;
    color: inherit;
    transition: background 0.15s ease;
}

.dash-dep-item:hover {
    background: #f8fafc;
}

.dash-dep-item + .dash-dep-item {
    border-top: 1px solid #f1f5f9;
}

.dash-dep-date {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.2;
}

.dash-dep-logo img {
    width: 40px;
    height: 28px;
    object-fit: contain;
}

.dash-dep-logo-fallback {
    width: 40px;
    height: 28px;
    border-radius: 8px;
    background: rgba(58, 134, 196, 0.1);
    color: #3a86c4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-dep-route {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    line-height: 1.35;
}

.dash-dep-seats {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-top: 0.15rem;
}

.dash-dep-badge {
    background: rgba(76, 201, 240, 0.16);
    color: #0f6e8f;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
}

.dash-dep-badge--warn {
    background: rgba(255, 159, 28, 0.18);
    color: #c47d00;
}

.dash-outstanding-table-wrap {
    max-height: 420px;
    overflow: auto;
}

.dash-outstanding-table thead th {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-secondary);
    white-space: nowrap;
    padding: 0.85rem 0.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.dash-outstanding-table tbody td {
    font-size: 0.8125rem;
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
}

.dash-outstanding-row {
    cursor: pointer;
}

.dash-outstanding-row:hover {
    background: #f8fafc;
}

.dash-outstanding-airline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.dash-outstanding-airline-logo {
    display: block;
    width: 32px;
    height: 22px;
    max-width: 32px;
    max-height: 22px;
    object-fit: contain;
}

.agent-dashboard-page .dash-outstanding-airline-logo {
    width: 32px !important;
    height: 22px !important;
    max-width: 32px !important;
    max-height: 22px !important;
}

.dash-outstanding-airline-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: rgba(58, 134, 196, 0.1);
    color: #3a86c4;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.dash-outstanding-amount {
    color: #c47d00;
}

.dash-pay-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    margin-bottom: 0.75rem;
}

.dash-pay-item:last-child {
    margin-bottom: 0;
}

.dash-pay-item--urgent {
    background: rgba(231, 29, 54, 0.08);
}

.dash-pay-item--warning {
    background: rgba(255, 159, 28, 0.12);
}

.dash-pay-item--normal {
    background: rgba(58, 134, 196, 0.08);
}

.dash-pay-code {
    font-size: 0.9375rem;
    font-weight: 800;
}

.dash-pay-item--urgent .dash-pay-code { color: #e71d36; }
.dash-pay-item--warning .dash-pay-code { color: #c47d00; }
.dash-pay-item--normal .dash-pay-code { color: #3a86c4; }

.dash-pay-route {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin-top: 0.15rem;
    line-height: 1.35;
}

.dash-pay-due {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
}

.dash-pay-item--urgent .dash-pay-due { color: #e71d36; }
.dash-pay-item--warning .dash-pay-due { color: #c47d00; }
.dash-pay-item--normal .dash-pay-due { color: #3a86c4; }

.dash-pay-due-sub {
    font-weight: 700;
}

.dash-pay-btn {
    border: none;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    padding: 0.45rem 0.9rem;
}

.dash-pay-item--urgent .dash-pay-btn { background: #e71d36; }
.dash-pay-item--warning .dash-pay-btn { background: #ff9f1c; color: #212529; }
.dash-pay-item--normal .dash-pay-btn { background: #3a86c4; }

.dash-pay-item--urgent .dash-pay-btn:hover { background: #c91830; color: #fff; }
.dash-pay-item--warning .dash-pay-btn:hover { background: #e88f00; color: #212529; }
.dash-pay-item--normal .dash-pay-btn:hover { background: #2f74ad; color: #fff; }

@media (max-width: 767.98px) {
    .dash-dep-item {
        grid-template-columns: 64px 40px 1fr;
    }

    .dash-dep-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .dash-pay-item {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-pay-btn {
        width: 100%;
    }
}

/* ========== TRIP CARDS ========== */
.trip-card {
    height: 100%;
}

.trip-card .trip-destination {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.trip-card .trip-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.trip-card .trip-quota {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.trip-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 3rem;
}

/* ========== FORMS ========== */
.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(76, 201, 240, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

/* ========== AUTH PAGES ========== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 50%, var(--color-bg) 50%);
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--color-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card .auth-logo h1 {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 2rem;
    margin: 0;
}

.auth-card .auth-logo h1 span {
    color: var(--color-accent);
}

.auth-card .auth-logo p {
    color: var(--color-text-secondary);
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

/* ========== DATATABLES ========== */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.375rem 0.75rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(76, 201, 240, 0.25);
}

table.dataTable thead th {
    background-color: var(--color-secondary) !important;
    color: #fff !important;
    font-weight: 600;
    border: none !important;
}

table.dataTable tbody tr:hover {
    background-color: rgba(76, 201, 240, 0.05) !important;
}

.page-item.active .page-link {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-secondary-dark);
}

.page-link {
    color: var(--color-secondary);
}

/* ========== FOOTER ========== */
.footer-triplink {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 0;
    margin-top: auto;
    font-size: 0.875rem;
}

.footer-triplink a {
    color: var(--color-accent);
    text-decoration: none;
}

/* ========== PAGE HEADER ========== */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
}

.page-header p {
    color: var(--color-text-secondary);
    margin: 0.25rem 0 0;
}

/* ========== PASSENGER FORM ========== */
.passenger-row {
    background: var(--color-bg-alt);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e9ecef;
}

.passenger-row .passenger-number {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767.98px) {
    .navbar-triplink {
        display: none !important;
    }

    .bottom-nav {
        display: block;
    }

    .main-content {
        padding-bottom: calc(var(--bottom-nav-height) + 1rem);
        min-height: 100vh;
    }

    .footer-triplink {
        display: none;
    }

    .auth-wrapper {
        background: var(--color-secondary);
    }

    .page-header h1 {
        font-size: 1.35rem;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none !important;
    }
}

/* ========== UTILITIES ========== */
.text-accent { color: var(--color-accent) !important; }
.text-brand  { color: var(--color-secondary) !important; }
.text-muted-secondary { color: var(--color-text-secondary) !important; }
.bg-brand { background-color: var(--color-secondary) !important; }
.bg-accent { background-color: var(--color-accent) !important; }

.divider {
    border-top: 1px solid #e9ecef;
    margin: 1.5rem 0;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.landing-hero { min-height: calc(100vh - 120px); }
.min-vh-75 { min-height: 75vh; }

.landing-hero-logo {
    height: 72px;
    width: auto;
    max-width: 100%;
}

.landing-feature-list li {
    padding: 0.55rem 0;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* ========== ADMIN PANEL ========== */
.admin-body {
    background: var(--color-bg-alt);
}

.admin-shell {
    min-height: 100vh;
    align-items: stretch;
}

.admin-main {
    min-width: 0;
    flex: 1 1 auto;
    width: calc(100% - 260px);
}

.admin-sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    flex: 0 0 260px;
    flex-shrink: 0;
    background: var(--color-secondary);
    color: #fff;
    min-height: 100vh;
    height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    overflow-y: auto;
}

.admin-sidebar-brand {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-brand a {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-sidebar-brand span { color: var(--color-accent); }
.admin-sidebar-brand small { display: block; opacity: 0.7; font-size: 0.75rem; margin-top: 0.15rem; }

.admin-sidebar-nav { padding: 1rem 0.75rem; }

.admin-nav-link,
.admin-nav-group-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

.admin-nav-group-toggle {
    justify-content: space-between;
}

.admin-nav-link:hover,
.admin-nav-group-toggle:hover,
.admin-nav-sublink:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.admin-nav-link.active,
.admin-nav-group-toggle.active {
    background: var(--color-accent);
    color: var(--color-secondary);
    font-weight: 600;
}

.admin-nav-sublink {
    display: block;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.admin-nav-sublink.active {
    color: var(--color-accent);
    font-weight: 600;
}

.admin-sidebar-footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.admin-user {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 1.25rem;
}

.admin-topbar {
    background: var(--color-secondary);
    color: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-topbar-brand {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.admin-topbar-brand span { color: var(--color-accent); }

.admin-mobile-nav {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
}

.admin-mobile-nav a {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.5rem;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.7rem;
    min-width: 70px;
}

.admin-mobile-nav a i { display: block; font-size: 1.1rem; margin-bottom: 0.15rem; }
.admin-mobile-nav a.active { color: var(--color-secondary); font-weight: 600; }

.admin-mobile-menu-page {
    max-width: 640px;
    margin: 0 auto;
}

.admin-mobile-menu-header {
    margin-bottom: 1.25rem;
}

.admin-mobile-menu-back {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.admin-mobile-menu-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
}

.admin-mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.admin-mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-secondary);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-mobile-menu-item:hover {
    background: #f8fafc;
    border-color: #dbeafe;
    color: var(--color-secondary);
}

.admin-mobile-menu-item.active {
    border-color: rgba(58, 134, 196, 0.45);
    background: rgba(58, 134, 196, 0.08);
}

.admin-mobile-menu-item-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(58, 134, 196, 0.12);
    color: #3a86c4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.admin-mobile-menu-item-label {
    flex: 1;
    font-weight: 600;
    font-size: 0.9375rem;
}

.admin-mobile-menu-item-arrow {
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (min-width: 992px) {
    .admin-mobile-menu-page {
        display: none;
    }
}

.admin-content {
    padding: 1.5rem;
}

@media (max-width: 991.98px) {
    .admin-content { padding: 1rem; padding-bottom: 1.5rem; }
    .admin-main { width: 100%; }
}

/* ========== AGENT PRODUCT LIST ========== */
.main-content:has(.agent-product-page) {
    padding-top: 0.5rem;
}

.agent-product-page {
    background: #f7f9fc;
    min-height: calc(100vh - var(--navbar-height));
}

.agent-product-card {
    overflow: hidden;
}

.agent-badge-month {
    background: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.agent-badge-per-person {
    background: rgba(15, 44, 89, 0.1);
    color: var(--color-secondary);
    font-weight: 600;
}

.agent-badge-month-sm {
    font-size: 0.75rem;
}

.agent-badge-weekday {
    font-size: 0.75rem;
    font-weight: 600;
}

.agent-product-date,
.agent-product-airline {
    padding: 1.125rem 1rem !important;
}

.agent-product-date-day {
    font-size: 2rem;
    line-height: 1.1;
    color: var(--color-secondary);
}

.agent-product-date-to {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    margin: 0.3rem 0;
}

.agent-product-airline-logo-wrap {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-product-airline-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.agent-product-airline-logo-fallback {
    width: 100%;
    height: 100%;
    background: #eef2f7;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.agent-product-airline .badge {
    font-size: 0.875rem;
    padding: 0.4em 0.7em;
}

.agent-product-airline-name {
    font-size: 1rem;
    line-height: 1.35;
}

.agent-route-line {
    height: 0;
    border-top: 2px dashed #cfd6e4;
    margin: 0 4px;
    align-self: center;
}

.agent-route-stop h2 {
    font-size: 1.35rem;
}

.agent-info-box {
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.agent-info-box-seat {
    background: #eefbf5;
}

.agent-info-box-period {
    background: #f7f3ff;
}

.agent-info-box-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.agent-info-box-seat .agent-info-box-icon {
    background: #dff8ea;
    color: #16a34a;
}

.agent-info-box-period .agent-info-box-icon {
    background: #efe5ff;
    color: #7c3aed;
}

.agent-product-book-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.agent-product-card .btn-product-detail:hover {
    color: var(--color-accent-dark) !important;
}

/* Mobile ticket card */
.agent-ticket-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.agent-ticket-card .card-body {
    padding: 14px 16px;
}

.agent-ticket-layout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.agent-ticket-airline-logo {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.agent-ticket-airline-logo img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.agent-ticket-airline-logo i {
    font-size: 1rem;
    color: var(--color-secondary);
}

.agent-ticket-body {
    flex: 1 1 0;
    min-width: 0;
}

.agent-ticket-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.agent-ticket-head {
    flex: 1 1 0;
    min-width: 0;
}

.agent-ticket-airline-name {
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.3;
    color: #212529;
}

.agent-ticket-route {
    margin-top: 4px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #12284c;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.agent-ticket-cities {
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #777;
    word-break: break-word;
}

.agent-ticket-arrow {
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1;
    color: #bbb;
    padding-top: 2px;
}

.agent-ticket-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.agent-ticket-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.agent-ticket-badge-seat {
    background: #e8f9ee;
    color: #198754;
}

.agent-ticket-badge-seat .bi-circle-fill {
    font-size: 0.45rem;
}

.agent-ticket-badge-date {
    background: #f3ebff;
    color: #6f42c1;
    white-space: normal;
    text-align: left;
}

.agent-ticket-price-wrap {
    margin-top: 12px;
    text-align: right;
}

.agent-ticket-price-wrap small {
    display: block;
    font-size: 0.75rem;
    color: #888;
}

.agent-ticket-price {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0b2f66;
    word-break: break-word;
}

.agent-ticket-person {
    font-size: 0.8125rem;
    color: #888;
}

@media (max-width: 991.98px) {
    .agent-product-card {
        display: none !important;
    }

    .main-content:has(.agent-product-page) {
        padding-top: 0;
        padding-bottom: calc(var(--bottom-nav-height) + 0.5rem);
    }

    .agent-product-page .container {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 0.75rem;
    }

    .agent-product-page h2.fw-bold.text-brand {
        font-size: 1.25rem;
        margin-bottom: 0.25rem !important;
    }

    .agent-product-page > .container > .d-flex.mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .agent-product-page > .container > .card.mb-4 {
        border-radius: 14px;
        margin-bottom: 1rem !important;
    }

    .agent-product-page > .container > .card.mb-4 .card-body {
        padding: 0.75rem;
    }

    .agent-product-month {
        margin-bottom: 1.25rem !important;
    }

    .agent-product-month-title.h5 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem !important;
    }

    .agent-product-cards {
        gap: 0.75rem !important;
    }
}

@media (max-width: 575.98px) {
    .agent-ticket-route {
        font-size: 0.875rem;
    }

    .agent-ticket-price {
        font-size: 1.25rem;
    }

    .agent-ticket-badge {
        font-size: 0.6875rem;
        padding: 5px 10px;
    }
}

/* Agent search product list */
.agent-search-product-page {
    background: #f5f7fb;
}

.agent-search-filter-card .agent-search-select,
.agent-search-filter-card .agent-search-btn {
    height: 48px;
}

.agent-month-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    margin-bottom: 0.75rem !important;
}

.agent-month-title-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #e9f2ff;
    color: #0d6efd;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.agent-product-item {
    margin-bottom: 0.75rem;
}

.agent-product-item.is-held {
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.agent-search-product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.agent-search-product-card-held {
    cursor: not-allowed;
    background: #f8fafc;
}

.agent-search-sold-badge {
    background: #64748b;
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

a.agent-search-product-card {
    cursor: pointer;
    color: inherit;
}

a.agent-search-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

.agent-search-product-card-clickable {
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.agent-search-product-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

.agent-search-product-card-clickable:focus {
    outline: 2px solid rgba(13, 110, 253, 0.35);
    outline-offset: 2px;
}

.agent-search-date-stack {
    padding: 1rem 0.85rem;
    text-align: center;
    border-right: 1px solid #edf1f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 76px;
}

.agent-search-date-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: #1a1a2e;
}

.agent-search-date-month {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0d6efd;
    margin-top: 0.2rem;
}

.agent-search-date-year {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.agent-search-airline-pattern {
    padding: 0.85rem 1rem;
    border-right: 1px solid #edf1f5;
    position: relative;
}

.agent-search-chevron-mobile {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.15rem;
}

.agent-search-airline-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agent-search-airline-logo-sm {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.agent-search-airline-logo-sm.agent-search-airline-logo-fallback {
    border-radius: 8px;
    background: #f8f9fa;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.agent-search-airline-name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.agent-search-pattern-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    line-height: 1.35;
    margin-top: 0.2rem;
    word-break: break-word;
}

.agent-search-flight-col {
    padding: 0.5rem 0.75rem;
    border-right: 1px solid #edf1f5;
}

.agent-search-flight-table {
    font-size: 13px;
    margin-bottom: 0;
}

.agent-search-flight-table thead th {
    padding: 0.35rem 0.5rem;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6c757d;
    background: #f8f9fa;
    border-bottom: 1px solid #edf1f5;
    white-space: nowrap;
}

.agent-search-flight-table tbody td {
    padding: 0.25rem 0.5rem;
    line-height: 1.3;
    vertical-align: top;
    white-space: nowrap;
}

.agent-search-flight-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.agent-leg-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1;
}

.agent-leg-direction--outbound {
    color: #0d6efd;
}

.agent-leg-direction--outbound i {
    transform: rotate(-35deg);
}

.agent-leg-direction--return {
    color: #fd7e14;
}

.agent-leg-direction--return i {
    transform: rotate(145deg);
}

.agent-search-seat-col {
    padding: 0.75rem 0.65rem;
    text-align: center;
    border-right: 1px solid #edf1f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
}

.agent-search-seat-col i {
    color: #0d6efd;
    font-size: 1.25rem;
}

.agent-search-seat-num {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0.15rem 0;
}

.agent-search-seat-col small {
    font-size: 0.7rem;
    color: #6c757d;
}

.agent-search-price-col {
    padding: 0.75rem 0.85rem;
    font-size: 0.78rem;
    min-width: 130px;
}

.agent-search-price-fare strong {
    display: block;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-top: 0.1rem;
}

.agent-search-price-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.agent-search-price-label {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.4rem;
    padding: 0.35em 0.5em;
    white-space: normal;
    text-align: left;
}

.agent-search-chevron {
    padding: 0 0.85rem 0 0.35rem;
    color: #adb5bd;
    font-size: 1.15rem;
}

@media (max-width: 991.98px) {
    .agent-search-date-stack {
        border-right: 0;
        border-bottom: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 0;
    }

    .agent-search-date-day {
        font-size: 1.5rem;
    }

    .agent-search-date-month,
    .agent-search-date-year {
        margin-top: 0.15rem;
    }

    .agent-search-airline-pattern {
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
        padding-right: 2.25rem;
    }

    .agent-search-flight-col {
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
    }

    .agent-search-seat-col {
        border-right: 1px solid #edf1f5;
        border-bottom: 0;
    }

    .agent-search-price-col {
        border-bottom: 0;
    }
}

@media (min-width: 992px) {
    .agent-search-product-card .row > .col-lg-auto.agent-search-date-stack {
        width: 88px;
        flex: 0 0 88px;
    }

    .agent-search-product-card .row > .col-lg-2.agent-search-airline-pattern {
        width: 16.666667%;
        max-width: 200px;
    }

    .agent-search-product-card .row > .col-lg-2.agent-search-price-col {
        width: 16.666667%;
        max-width: 155px;
    }

    .agent-search-product-card .row > .col-lg-auto.agent-search-seat-col {
        width: 80px;
        flex: 0 0 80px;
    }
}

.agent-land-tour-panel {
    border: 1px solid #e8edf3;
}

.agent-land-tour-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.agent-land-tour-modal .modal-body {
    padding-top: 0.75rem;
}

.agent-land-tour-book-btn {
    font-weight: 600;
    border-radius: 10px;
    min-height: 48px;
}

.agent-land-tour-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff4e8;
    color: #fd7e14;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.agent-land-tour-list {
    display: grid;
    gap: 1rem;
}

.agent-land-tour-item {
    border: 1px solid #edf1f5;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    background: #fbfcfe;
}

.agent-land-tour-item-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.agent-land-tour-item-detail {
    flex: 1;
    min-width: 0;
}

.agent-land-tour-item-pdfs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: stretch;
    min-width: 148px;
    max-width: 220px;
}

.agent-land-tour-pdf-btn {
    text-align: left;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agent-land-tour-vendor {
    color: #1a1a2e;
    font-weight: 700;
}

.agent-land-tour-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
}

.agent-land-tour-contact-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    min-width: 0;
}

.agent-land-tour-contact-item i {
    color: #6c757d;
    flex-shrink: 0;
}

.agent-land-tour-contact-item span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agent-land-tour-empty {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .agent-land-tour-contact-grid {
        grid-template-columns: 1fr;
    }

    .agent-land-tour-item-row {
        flex-direction: column;
    }

    .agent-land-tour-item-pdfs {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: none;
        width: 100%;
    }

    .agent-land-tour-pdf-btn {
        max-width: 100%;
    }
}

.agent-land-tour-detail-card .agent-land-tour-list {
    gap: 0.75rem;
}

.agent-land-tour-detail-card .agent-land-tour-item {
    background: #fff;
}

/* Product detail modal — mobile friendly */
.product-detail-modal .modal-header {
    padding: 1rem 1rem 0.75rem;
}

.product-detail-modal .modal-body {
    padding: 0.75rem 1rem 1rem;
}

.product-detail-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .product-detail-summary {
        gap: 0.75rem 1rem;
    }
}

.product-detail-summary-item {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 0.75rem 0.875rem;
}

.product-detail-summary-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
    margin-bottom: 0.2rem;
}

.product-detail-summary-value {
    font-size: 0.875rem;
    line-height: 1.4;
    word-break: break-word;
}

.product-detail-section-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

.product-detail-legs-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.product-detail-leg {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 0.875rem;
}

.product-detail-leg-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-detail-leg-no {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
}

.product-detail-leg-flight {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.product-detail-leg-route {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.product-detail-leg-route i {
    font-size: 0.875rem;
    color: var(--color-accent-dark);
}

.product-detail-leg-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

@media (min-width: 400px) {
    .product-detail-leg-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }
}

.product-detail-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}

.product-detail-footer .btn {
    min-height: 44px;
}

@media (max-width: 767.98px) {
    .product-detail-modal .modal-title {
        font-size: 1rem;
    }

    .product-detail-footer {
        flex-direction: column-reverse;
    }

    .product-detail-footer .btn {
        width: 100%;
        margin: 0;
    }

    .product-detail-footer #productBookBtn {
        font-size: 0.875rem;
        font-weight: 600;
    }
}

.product-detail-modal .min-w-0 {
    min-width: 0;
}

.airline-logo-preview {
    width: 120px;
    height: 120px;
}

.airline-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.airline-logo-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 2px;
}

/* Reservation wizard — agent (mockup-aligned) */
.main-content:has(.reservation-wizard-page) {
    background: #f5f7fb;
}

.reservation-wizard-page {
    --res-wizard-blue: #0d6efd;
    --res-wizard-dark: #0d3b66;
    --res-wizard-border: #e9ecef;
    --res-wizard-muted: #6c757d;
}

.reservation-wizard-page .res-wizard-title {
    font-weight: 700;
    color: var(--res-wizard-dark);
    font-size: 1.75rem;
}

.reservation-wizard-page .res-wizard-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--res-wizard-blue);
    line-height: 1.4;
}

.reservation-wizard-page .res-wizard-section-title {
    font-weight: 700;
    color: var(--res-wizard-dark);
    font-size: 1.25rem;
}

.reservation-wizard-page .res-wizard-section-title i {
    color: var(--res-wizard-blue);
}

.reservation-wizard-page .res-wizard-section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--res-wizard-muted);
    margin-bottom: 0;
}

.reservation-wizard-page .res-wizard-accent {
    color: var(--res-wizard-dark) !important;
}

.reservation-wizard-page .res-wizard-accent-icon {
    color: var(--res-wizard-blue);
}

/* Stepper */
.reservation-wizard-page .res-booking-wizard {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.reservation-wizard-page .res-booking-wizard-step {
    text-align: center;
    flex: 0 0 auto;
    min-width: 80px;
    z-index: 1;
}

.reservation-wizard-page .res-booking-wizard-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--res-wizard-muted);
    margin-top: 0.5rem;
}

.reservation-wizard-page .res-booking-wizard-step.active .res-booking-wizard-label {
    color: var(--res-wizard-blue);
}

.reservation-wizard-page .res-booking-wizard-step.done .res-booking-wizard-label {
    color: var(--res-wizard-dark);
}

.reservation-wizard-page .res-booking-wizard-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d6dce5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: auto;
    transition: background 0.2s ease;
}

.reservation-wizard-page .res-booking-wizard-step.active .res-booking-wizard-circle,
.reservation-wizard-page .res-booking-wizard-step.done .res-booking-wizard-circle {
    background: var(--res-wizard-blue);
}

.reservation-wizard-page .res-booking-wizard-line {
    flex: 1 1 auto;
    height: 3px;
    background: #d6dce5;
    margin: 22px 12px 0;
    align-self: flex-start;
    border-radius: 2px;
    min-width: 40px;
}

.reservation-wizard-page .res-booking-wizard-line.done {
    background: var(--res-wizard-blue);
}

.reservation-wizard-page .res-booking-wizard-line.active-partial {
    background: linear-gradient(to right, var(--res-wizard-blue) 40%, #d6dce5 40%);
}

.reservation-wizard-page .res-stat-value.res-stat-value-price {
    color: var(--res-wizard-blue);
}

/* Main card */
.reservation-wizard-page .res-wizard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(15, 44, 89, 0.06);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .reservation-wizard-page .res-wizard-card {
        padding: 1.75rem 2rem;
    }
}

/* Info cards — travel period & airline */
.reservation-wizard-page .res-info-card {
    border: 1px solid var(--res-wizard-border);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    height: 100%;
    background: #fff;
}

.reservation-wizard-page .res-info-card small,
.reservation-wizard-page .res-info-card .res-info-card-label {
    display: block;
    color: var(--res-wizard-muted);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.reservation-wizard-page .res-info-card-body {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.reservation-wizard-page .res-info-card .res-info-value,
.reservation-wizard-page .res-info-card h4,
.reservation-wizard-page .res-info-card h5 {
    color: var(--res-wizard-dark);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
}

.reservation-wizard-page .res-info-card h4.res-info-value-price,
.reservation-wizard-page .res-info-card .res-info-value.res-info-value-price {
    color: var(--res-wizard-blue);
}

.reservation-wizard-page .res-info-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--res-wizard-muted);
}

.reservation-wizard-page .res-fare-price-note {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--res-wizard-muted);
    margin-top: 0.25rem;
    line-height: 1.3;
}

.reservation-wizard-page .res-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--res-wizard-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.reservation-wizard-page .res-airline-logo-wrap {
    width: 48px;
    height: 36px;
    border: 1px solid var(--res-wizard-border);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.reservation-wizard-page .res-airline-logo {
    max-width: 42px;
    max-height: 28px;
    object-fit: contain;
}

.reservation-wizard-page .res-airline-logo-fallback {
    color: var(--res-wizard-blue);
    font-size: 1.1rem;
}

/* Stat mini cards */
.reservation-wizard-page .res-stat-card {
    border: 1px solid var(--res-wizard-border);
    border-radius: 12px;
    padding: 1rem 0.85rem;
    height: 100%;
    background: #fff;
}

.reservation-wizard-page .res-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--res-wizard-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.reservation-wizard-page .res-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--res-wizard-muted);
    margin-bottom: 0.25rem;
}

.reservation-wizard-page .res-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--res-wizard-dark);
    line-height: 1.35;
    word-break: break-word;
}

.reservation-wizard-page .res-stat-value.res-stat-value-sm {
    font-size: 0.9375rem;
}

.reservation-wizard-page .res-stat-sub {
    font-size: 0.6875rem;
    color: var(--res-wizard-muted);
    margin-top: 0.15rem;
}

/* Itinerary table */
.reservation-wizard-page .res-route-arrow {
    color: var(--res-wizard-blue);
    font-weight: 700;
}

.reservation-wizard-page .res-flight-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reservation-wizard-page .res-flight-airline-logo {
    width: 28px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.reservation-wizard-page .res-flight-airline-code {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--res-wizard-blue);
    background: rgba(13, 110, 253, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    line-height: 1;
    flex-shrink: 0;
}

.reservation-wizard-page .res-itinerary-table .res-flight-no {
    font-size: inherit;
    font-weight: 700;
    color: var(--res-wizard-dark);
}

.reservation-wizard-page .res-itinerary-table .table {
    border: 1px solid var(--res-wizard-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.reservation-wizard-page .res-itinerary-table .table thead {
    background: #f8f9fa;
}

.reservation-wizard-page .res-itinerary-table .table thead th {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--res-wizard-muted);
    border-bottom: 1px solid var(--res-wizard-border);
    padding: 0.85rem 1rem;
    white-space: nowrap;
}

.reservation-wizard-page .res-itinerary-table .table tbody td {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--res-wizard-dark);
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.reservation-wizard-page .res-itinerary-table .table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 767.98px) {
    .reservation-wizard-page .res-wizard-card--group-info .row,
    .reservation-wizard-page .res-wizard-card--pricing .row {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .reservation-wizard-page .res-wizard-card--group-info .res-info-card,
    .reservation-wizard-page .res-wizard-card--pricing .res-info-card {
        padding: 0.65rem 0.7rem;
        border-radius: 10px;
    }

    .reservation-wizard-page .res-wizard-card--group-info .res-info-card small,
    .reservation-wizard-page .res-wizard-card--pricing .res-info-card small {
        font-size: 0.6875rem;
        letter-spacing: 0.03em;
    }

    .reservation-wizard-page .res-wizard-card--group-info .res-info-card-body,
    .reservation-wizard-page .res-wizard-card--pricing .res-info-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-top: 0.35rem !important;
    }

    .reservation-wizard-page .res-wizard-card--group-info .res-info-icon,
    .reservation-wizard-page .res-wizard-card--group-info .res-airline-logo-wrap,
    .reservation-wizard-page .res-wizard-card--pricing .res-info-icon {
        display: none;
    }

    .reservation-wizard-page .res-wizard-card--group-info .res-info-card .res-info-value,
    .reservation-wizard-page .res-wizard-card--group-info .res-info-card h4,
    .reservation-wizard-page .res-wizard-card--pricing .res-info-card .res-info-value,
    .reservation-wizard-page .res-wizard-card--pricing .res-info-card h4 {
        font-size: 0.875rem;
        line-height: 1.35;
        word-break: break-word;
    }

    .reservation-wizard-page .res-wizard-card--pricing .res-pricing-value--total {
        font-size: 0.9375rem;
    }

    .reservation-wizard-page .res-itinerary-mobile {
        border: 1px solid var(--res-wizard-border);
        border-radius: 12px;
        overflow: hidden;
    }

    .reservation-wizard-page .res-itinerary-segment {
        display: flex;
        align-items: flex-start;
        gap: 0.45rem;
        padding: 0.55rem 0.7rem;
        border-bottom: 1px solid #f1f3f5;
        font-size: 0.75rem;
        line-height: 1.35;
        color: var(--res-wizard-dark);
    }

    .reservation-wizard-page .res-itinerary-segment:last-child {
        border-bottom: none;
    }

    .reservation-wizard-page .res-itinerary-segment-no {
        width: 1.1rem;
        flex-shrink: 0;
        font-weight: 700;
        color: var(--res-wizard-muted);
        font-size: 0.6875rem;
        line-height: 1.35;
    }

    .reservation-wizard-page .res-itinerary-segment-line {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.2rem 0.35rem;
        min-width: 0;
        flex: 1;
        font-weight: 600;
    }

    .reservation-wizard-page .res-itinerary-segment-line .agent-leg-direction {
        margin-right: 0.1rem;
    }

    .reservation-wizard-page .res-itinerary-segment-dot {
        color: var(--res-wizard-muted);
        font-weight: 400;
    }

    .reservation-wizard-page .res-itinerary-segment-line .res-route-arrow {
        font-size: 0.6875rem;
    }
}

/* Pricing summary */
.reservation-wizard-page .res-price-summary {
    background: #f8f9fb;
    border: 1px solid var(--res-wizard-border);
    border-radius: 14px;
    width: 100%;
}

/* Footer action bar */
.reservation-wizard-page .res-wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 44, 89, 0.05);
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
}

.booking-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 44, 89, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.booking-loading-overlay.is-visible {
    opacity: 1;
}

.booking-loading-box {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 2.25rem;
    text-align: center;
    box-shadow: 0 18px 48px rgba(15, 44, 89, 0.25);
    max-width: 320px;
}

.booking-loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 0.28em;
}

.booking-loading-title {
    margin-top: 1rem;
    font-weight: 700;
    color: #0f2c59;
}

.booking-loading-sub {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #6c7a91;
}

.reservation-wizard-page .res-wizard-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: auto;
}

.reservation-wizard-page .res-wizard-btn-back,
.reservation-wizard-page .res-wizard-btn-cancel {
    background: #fff;
    border: 1px solid #ced4da;
    color: var(--res-wizard-dark);
    font-weight: 600;
    border-radius: 8px;
    min-height: 44px;
}

.reservation-wizard-page .res-wizard-btn-back:hover:not(:disabled),
.reservation-wizard-page .res-wizard-btn-cancel:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: var(--res-wizard-dark);
}

.reservation-wizard-page .res-wizard-btn-back:disabled {
    opacity: 0.55;
}

.reservation-wizard-page .res-wizard-btn-next {
    background: var(--res-wizard-blue);
    border: 1px solid var(--res-wizard-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    min-height: 44px;
}

.reservation-wizard-page .res-wizard-btn-next:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
    color: #fff;
}

@media (max-width: 575.98px) {
    .reservation-wizard-page .res-wizard-title {
        font-size: 1.35rem;
    }

    .reservation-wizard-page .res-booking-wizard-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .reservation-wizard-page .res-booking-wizard-line {
        margin-top: 18px;
        min-width: 24px;
    }

    .reservation-wizard-page .res-booking-wizard-label {
        font-size: 0.6875rem;
    }

    .reservation-wizard-page .res-info-card .res-info-value,
    .reservation-wizard-page .res-info-card h4 {
        font-size: 1rem;
    }

    .reservation-wizard-page .res-itinerary-table .table thead th,
    .reservation-wizard-page .res-itinerary-table .table tbody td {
        font-size: 1rem;
    }

    .reservation-wizard-page .res-stat-value {
        font-size: 1rem;
    }

    .reservation-wizard-page .res-wizard-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .reservation-wizard-page .res-wizard-footer-actions {
        width: 100%;
        margin-left: 0;
    }

    .reservation-wizard-page .res-wizard-footer-actions .btn {
        flex: 1 1 auto;
    }
}

.reservation-wizard-page .res-booking-tnc-box {
    border: 1px solid var(--res-wizard-border);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    max-height: 220px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #343a40;
    background: #fafbfc;
}

.reservation-wizard-page .res-wizard-card--pricing .res-wizard-section-title i {
    color: #00a86b;
}

.reservation-wizard-page .res-info-icon--green {
    background: rgba(0, 168, 107, 0.12);
    color: #00a86b;
}

.reservation-wizard-page .res-pricing-value {
    color: #00a86b;
}

.reservation-wizard-page .res-pricing-value--total {
    color: #00a86b;
    font-weight: 800;
}

.reservation-wizard-page .res-pricing-value--danger {
    color: #dc3545;
    font-weight: 800;
}

.reservation-wizard-page .res-info-icon--red {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.reservation-wizard-page .res-info-card--total {
    border-color: rgba(220, 53, 69, 0.25);
    background: rgba(220, 53, 69, 0.03);
}

.reservation-wizard-page .res-pricing-formula {
    font-size: 0.75rem;
}

.reservation-wizard-page .res-tnc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.reservation-wizard-page .res-agree-wrap {
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.75rem;
}

.reservation-wizard-page .res-agree-wrap .form-check-input {
    margin-top: 0;
    float: none;
    flex-shrink: 0;
}

.reservation-wizard-page .res-agree-wrap .form-check-label {
    white-space: nowrap;
}

.reservation-wizard-page .res-agree-error {
    margin: -0.35rem 0 0.85rem;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-danger);
}

.reservation-wizard-page .res-book-confirm-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(0, 168, 107, 0.08);
    border: 1px solid rgba(0, 168, 107, 0.2);
    color: var(--res-wizard-dark);
    font-weight: 600;
}

.reservation-wizard-page .res-book-confirm-note i {
    color: #00a86b;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Reservation detail — agent */
.main-content:has(.reservation-detail-page) {
    background: #f5f7fb;
}

.reservation-detail-page {
    --res-detail-blue: #0d6efd;
    --res-detail-dark: #0d3b66;
    --res-detail-border: #e9ecef;
    --res-detail-muted: #6c757d;
}

.reservation-detail-page .res-detail-back {
    color: var(--res-detail-blue);
    font-size: 0.875rem;
    font-weight: 500;
}

.reservation-detail-page .res-detail-title {
    font-weight: 700;
    color: var(--res-detail-dark);
    font-size: 1.75rem;
}

.reservation-detail-page .res-detail-booking-code-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.reservation-detail-page .res-detail-booking-code {
    display: inline-block;
    background: rgba(13, 110, 253, 0.12);
    color: var(--res-detail-blue);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.reservation-detail-page .res-detail-status-badge .badge {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

.reservation-detail-page .res-detail-card {
    background: #fff;
    border: 1px solid var(--res-detail-border);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(15, 44, 89, 0.05);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .reservation-detail-page .res-detail-card {
        padding: 1.75rem 2rem;
    }
}

.reservation-detail-page .res-detail-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--res-detail-dark);
    margin-bottom: 1.25rem;
}

.reservation-detail-page .res-detail-card-title i {
    color: var(--res-detail-blue);
}

.reservation-detail-page .res-detail-meta-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--res-detail-muted);
    margin-bottom: 0.35rem;
}

.reservation-detail-page .res-detail-meta-label i {
    color: var(--res-detail-blue);
    margin-right: 0.25rem;
}

.reservation-detail-page .res-detail-meta-value {
    font-weight: 600;
    color: var(--res-detail-dark);
    line-height: 1.4;
    word-break: break-word;
}

.reservation-detail-page .res-detail-airline-logo {
    width: 28px;
    height: 20px;
    object-fit: contain;
}

.reservation-detail-page .res-detail-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0.75rem 0 0.25rem;
    overflow-x: auto;
}

.reservation-detail-page .res-detail-route-connector {
    flex: 1 1 auto;
    min-width: 28px;
    padding: 0 0.5rem;
    align-self: center;
}

.reservation-detail-page .res-detail-route-line {
    height: 0;
    border-top: 2px dashed #cfd6e4;
    width: 100%;
}

.reservation-detail-page .res-detail-route-stop {
    flex: 0 0 auto;
    min-width: 3.5rem;
}

.reservation-detail-page .res-detail-route-code {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--res-detail-dark);
    line-height: 1.2;
}

.reservation-detail-page .res-detail-route-city {
    font-size: 0.8125rem;
    color: var(--res-detail-muted);
    margin-top: 0.15rem;
}

.reservation-detail-page .res-route-arrow {
    color: var(--res-detail-blue);
    font-weight: 700;
}

.reservation-detail-page .res-flight-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reservation-detail-page .res-flight-airline-logo {
    width: 28px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.reservation-detail-page .res-flight-airline-code {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--res-detail-blue);
    background: rgba(13, 110, 253, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    line-height: 1;
    flex-shrink: 0;
}

.reservation-detail-page .res-flight-no {
    font-weight: 600;
    color: var(--res-detail-dark);
}

.reservation-detail-page .res-detail-itinerary-table .table {
    border: 1px solid var(--res-detail-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.reservation-detail-page .res-detail-itinerary-table .table thead {
    background: #f8f9fa;
}

.reservation-detail-page .res-detail-itinerary-table .table thead th {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--res-detail-muted);
    border-bottom: 1px solid var(--res-detail-border);
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.reservation-detail-page .res-detail-itinerary-table .table tbody td {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    color: var(--res-detail-dark);
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.reservation-detail-page .res-detail-itinerary-table .table tbody tr:last-child td {
    border-bottom: none;
}

.reservation-detail-page .res-detail-time {
    color: var(--res-detail-blue);
    font-weight: 600;
}

.reservation-detail-page .res-detail-itinerary-note {
    margin-top: 1rem;
    background: rgba(13, 110, 253, 0.08);
    color: var(--res-detail-blue);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.reservation-detail-page .res-detail-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.45rem 0;
    font-size: 0.9375rem;
    color: var(--res-detail-dark);
}

.reservation-detail-page .res-detail-grand-total {
    background: rgba(13, 110, 253, 0.08);
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.reservation-detail-page .res-detail-grand-total-label {
    font-weight: 700;
    color: var(--res-detail-dark);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.reservation-detail-page .res-detail-grand-total-value {
    font-weight: 700;
    color: var(--res-detail-blue);
    font-size: 1.5rem;
    line-height: 1.2;
}

.reservation-detail-page .res-detail-summary-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reservation-detail-page .res-detail-summary-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.reservation-detail-page .res-detail-summary-meta-item > i {
    color: var(--res-detail-blue);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.reservation-detail-page .res-detail-summary-meta-label {
    font-size: 0.75rem;
    color: var(--res-detail-muted);
    margin-bottom: 0.1rem;
}

.reservation-detail-page .res-detail-summary-meta-value {
    font-weight: 600;
    color: var(--res-detail-dark);
    font-size: 0.9375rem;
}

.reservation-detail-page .res-detail-timelimit-highlight {
    background: rgba(255, 193, 7, 0.14);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin: -0.25rem 0 0.5rem;
}

.reservation-detail-page .res-detail-timelimit-highlight > i {
    color: #b45309;
}

.reservation-detail-page .res-detail-timelimit-highlight .res-detail-summary-meta-value {
    color: #b45309;
    font-weight: 700;
    font-size: 1rem;
}

.res-timelimit-highlight {
    background: rgba(255, 193, 7, 0.14);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-top: 0.5rem;
}

.res-timelimit-highlight .res-timelimit-value {
    color: #b45309;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .reservation-detail-page .res-detail-title {
        font-size: 1.35rem;
    }

    .reservation-detail-page .res-detail-grand-total-value {
        font-size: 1.25rem;
    }
}

/* Deposit invoice (print) */
.invoice-page {
    background: #eef2f7;
    min-height: 100vh;
}

.invoice-toolbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.invoice-document {
    max-width: 1100px;
}

.invoice-sheet {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 44, 89, 0.08);
    padding: 2rem 2.25rem;
}

.invoice-type-pill {
    display: inline-block;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.invoice-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d3b66;
    letter-spacing: 0.02em;
}

.invoice-triplink-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: #0d3b66;
    letter-spacing: 0.06em;
    line-height: 1;
}

.invoice-triplink-brand span {
    color: #0d6efd;
}

.invoice-brand-logo {
    height: 84px;
    width: auto;
}

.invoice-airline-logo {
    max-width: 140px;
    max-height: 48px;
    object-fit: contain;
}

.invoice-airline-fallback {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.invoice-meta-bar {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.invoice-meta-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.invoice-meta-value {
    font-weight: 600;
    color: #0d3b66;
    font-size: 0.9375rem;
}

.invoice-booking-code {
    display: inline-block;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.invoice-due-highlight {
    color: #b45309;
    font-weight: 700;
}

.invoice-panel {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    background: #fff;
}

.invoice-panel-accent {
    background: rgba(13, 110, 253, 0.06);
    border-color: rgba(13, 110, 253, 0.15);
}

.invoice-panel-title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d3b66;
    margin-bottom: 1rem;
}

.invoice-panel-title i {
    color: #0d6efd;
}

.invoice-billed-name {
    font-weight: 700;
    color: #0d3b66;
    font-size: 1.05rem;
}

.invoice-billed-company {
    color: #0d3b66;
    margin: 0.15rem 0 0.5rem;
}

.invoice-billed-text {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

.invoice-summary-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.invoice-summary-list li:last-child {
    border-bottom: none;
}

.invoice-summary-list li i {
    color: #0d6efd;
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.invoice-summary-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.1rem;
}

.invoice-summary-list li strong {
    color: #0d3b66;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.4;
    word-break: break-word;
}

.invoice-type-heading {
    font-size: 1rem;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

.invoice-type-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.invoice-type-row--deduct,
.invoice-pay-row--deduct {
    color: #dc3545;
}

.invoice-type-row--deduct span:last-child,
.invoice-pay-row--deduct span:last-child {
    font-weight: 600;
}

.invoice-type-total-label {
    font-weight: 700;
    color: #0d3b66;
    margin-bottom: 0.25rem;
}

.invoice-type-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d6efd;
    line-height: 1.2;
}

.invoice-itinerary-table .table {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.invoice-itinerary-table .table thead {
    background: #f8f9fa;
}

.invoice-itinerary-table .table thead th {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

.invoice-itinerary-table .table tbody td {
    font-size: 0.8125rem;
    color: #0d3b66;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.invoice-itinerary-table .table tbody tr:last-child td {
    border-bottom: none;
}

.invoice-route-arrow {
    color: #0d6efd;
    font-weight: 700;
}

.invoice-flight-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.invoice-flight-logo {
    width: 24px;
    height: 16px;
    object-fit: contain;
}

.invoice-pay-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0.35rem 0;
}

.invoice-pay-row.invoice-pay-total {
    color: #0d3b66;
    font-weight: 800;
    font-size: 1.05rem;
}

.invoice-pay-row.invoice-pay-total span:last-child {
    color: #0d6efd;
}

.invoice-pay-divider {
    border-color: rgba(13, 110, 253, 0.2);
    margin: 0.75rem 0;
}

.invoice-pay-note {
    margin-top: 1rem;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
}

.invoice-footer-note {
    font-size: 0.875rem;
    color: #6c757d;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Full payment invoice — green accent variant */
.invoice-sheet--full-payment .invoice-type-pill {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.invoice-sheet--full-payment .invoice-booking-code {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.invoice-sheet--full-payment .invoice-panel-accent {
    background: rgba(22, 163, 74, 0.06);
    border-color: rgba(22, 163, 74, 0.18);
}

.invoice-sheet--full-payment .invoice-panel-title i,
.invoice-sheet--full-payment .invoice-summary-list li i,
.invoice-sheet--full-payment .invoice-route-arrow {
    color: #16a34a;
}

.invoice-sheet--full-payment .invoice-type-heading {
    color: #16a34a;
}

.invoice-sheet--full-payment .invoice-type-total-value {
    color: #16a34a;
}

.invoice-sheet--full-payment .invoice-pay-row.invoice-pay-total span:last-child {
    color: #16a34a;
}

.invoice-sheet--full-payment .invoice-pay-divider {
    border-color: rgba(22, 163, 74, 0.2);
}

.invoice-sheet--full-payment .invoice-pay-note {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
}

.invoice-sheet--full-payment .invoice-pay-note--success {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
    font-weight: 600;
}

.invoice-sheet--full-payment .invoice-itinerary-table .table thead {
    background: rgba(22, 163, 74, 0.08);
}

.invoice-paid-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

.invoice-footer-grid {
    border-top: 1px solid #e9ecef;
}

.invoice-footer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.8125rem;
    color: #6c757d;
    line-height: 1.45;
}

.invoice-footer-item i {
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.invoice-sheet--full-payment .invoice-footer-item i {
    color: #16a34a;
}

.invoice-sheet:not(.invoice-sheet--full-payment) .invoice-footer-item i {
    color: #0d6efd;
}

/* Screen: frame is transparent wrapper */
.invoice-print-frame {
    width: 100%;
}

/* ========== E-VOUCHER ========== */
.evoucher-document {
    max-width: 1100px;
}

.evoucher-sheet {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 44, 89, 0.08);
    padding: 2rem 2.25rem;
}

.evoucher-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: #0d3b66;
    letter-spacing: 0.06em;
}

.evoucher-brand span {
    color: #0d6efd;
}

.evoucher-badge-pill {
    background: #0d3b66;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.55rem 1rem;
    border-radius: 10px;
}

.evoucher-success-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 168, 107, 0.08);
    border: 1px solid rgba(0, 168, 107, 0.25);
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

.evoucher-success-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #00a86b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.evoucher-success-title {
    font-weight: 800;
    color: #00a86b;
    letter-spacing: 0.03em;
}

.evoucher-success-text {
    color: #2d6a4f;
    font-size: 0.9rem;
}

.evoucher-meta-card {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    background: #fff;
}

.evoucher-meta-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.evoucher-meta-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d3b66;
}

.evoucher-meta-value--pnr {
    font-size: 1.35rem;
    color: #0d6efd;
}

.evoucher-meta-value--confirmed {
    color: #00a86b;
}

.evoucher-panel {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
}

.evoucher-panel-title {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d3b66;
    margin-bottom: 1rem;
}

.evoucher-panel-title i {
    color: #0d6efd;
}

.evoucher-flight-table .table thead th {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

.evoucher-flight-table .table tbody td {
    font-size: 0.8125rem;
    color: #0d3b66;
    vertical-align: middle;
}

.evoucher-footer-note {
    font-size: 0.875rem;
    color: #6c757d;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .invoice-page,
    .invoice-main {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        min-height: auto !important;
    }

    .invoice-toolbar {
        display: none !important;
    }

    .invoice-document,
    .invoice-document.container {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Scale preview canvas (1100px) to fit A4 printable width (190mm) */
    .invoice-print-frame {
        width: 190mm;
        margin: 0 auto;
        overflow: hidden;
    }

    .invoice-sheet {
        width: 1100px;
        max-width: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        zoom: 0.653;
        margin: 0 !important;
        page-break-inside: avoid;
    }

    .evoucher-sheet {
        width: 1100px;
        max-width: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        zoom: 0.653;
        margin: 0 !important;
        page-break-inside: avoid;
    }

    @supports not (zoom: 1) {
        .invoice-sheet {
            zoom: unset;
            transform: scale(0.653);
            transform-origin: top left;
        }
    }

    .invoice-panel {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Bootstrap col-lg-* tidak aktif di print viewport — paksa layout desktop */
    .invoice-sheet .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .invoice-sheet .col-lg-3 {
        flex: 0 0 auto !important;
        width: 25% !important;
        max-width: 25% !important;
    }

    .invoice-sheet .col-lg-4 {
        flex: 0 0 auto !important;
        width: 33.33333333% !important;
        max-width: 33.33333333% !important;
    }

    .invoice-sheet .col-lg-8 {
        flex: 0 0 auto !important;
        width: 66.66666667% !important;
        max-width: 66.66666667% !important;
    }

    .invoice-page *,
    .invoice-page *::before,
    .invoice-page *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

@media (max-width: 767.98px) {
    .invoice-sheet {
        padding: 1.25rem;
    }

    .invoice-main-title {
        font-size: 1.75rem;
    }

    .invoice-type-total-value {
        font-size: 1.25rem;
    }
}

/* Admin reservation detail */
.admin-reservation-detail .admin-res-meta-table th {
    width: 38%;
    color: var(--text-muted-secondary, #6c757d);
    font-weight: 600;
    padding: 0.35rem 0.75rem 0.35rem 0;
    vertical-align: top;
}

.admin-reservation-detail .admin-res-meta-table td {
    padding: 0.35rem 0;
    vertical-align: top;
}

.admin-reservation-detail .admin-res-airline-logo,
.admin-reservation-detail .admin-res-flight-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.admin-res-tabs-card {
    overflow: hidden;
}

.admin-res-tabs {
    border-bottom: 1px solid rgba(15, 44, 89, 0.1);
    gap: 0.25rem;
}

.admin-res-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--text-muted-secondary, #6c757d);
    font-weight: 600;
    padding: 0.65rem 1rem;
    margin-bottom: -1px;
}

.admin-res-tabs .nav-link:hover {
    color: var(--brand-primary, #0f2c59);
    border-bottom-color: rgba(76, 201, 240, 0.45);
}

.admin-res-tabs .nav-link.active {
    color: var(--brand-primary, #0f2c59);
    background: transparent;
    border-bottom-color: var(--brand-accent, #4cc9f0);
}

.admin-res-tab-content .card-triplink {
    box-shadow: none;
    border: 1px solid rgba(15, 44, 89, 0.08);
}

/* Admin product detail */
.admin-product-detail .admin-product-airline-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(58, 134, 196, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-product-detail .admin-product-airline-badge img {
    width: 40px;
    height: 28px;
    object-fit: contain;
}

.admin-product-detail .admin-product-airline-badge i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.admin-product-detail .admin-product-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-secondary);
    margin-bottom: 0.35rem;
}

.admin-product-detail .admin-product-stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.4;
}

.admin-product-detail .admin-product-stat--warn {
    border-left: 4px solid var(--color-warning);
}

.admin-product-detail .admin-product-meta-table th {
    width: 38%;
    color: var(--color-text-secondary);
    font-weight: 600;
    padding: 0.35rem 0.75rem 0.35rem 0;
    vertical-align: top;
}

.admin-product-detail .admin-product-meta-table td {
    padding: 0.35rem 0;
    vertical-align: top;
}

.admin-product-detail .admin-product-logo-sm {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.admin-product-detail .admin-product-route {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.admin-product-detail .admin-product-sell-highlight {
    background: linear-gradient(135deg, rgba(58, 134, 196, 0.08) 0%, rgba(0, 51, 102, 0.04) 100%);
    border: 1px solid rgba(58, 134, 196, 0.15);
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.admin-product-detail .admin-product-sell-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.admin-product-detail .admin-product-sell-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.2;
}

.admin-product-detail .admin-product-sell-formula {
    margin-top: 0.5rem;
    line-height: 1.5;
}

.admin-product-detail .admin-product-price-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    height: 100%;
}

.admin-product-detail .admin-product-price-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 0.2rem;
}

.admin-product-detail .admin-product-itinerary thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-secondary);
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    white-space: nowrap;
}

.admin-product-detail .admin-product-itinerary tbody td {
    vertical-align: middle;
    font-size: 0.875rem;
}

.admin-product-detail .admin-product-time {
    color: var(--color-accent);
    font-weight: 600;
}

.admin-product-detail .admin-product-tnc {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1rem 1.15rem;
    line-height: 1.6;
    max-height: 320px;
    overflow-y: auto;
}

.admin-product-form .admin-product-form-card {
    border-radius: 18px;
    border-color: #e8edf4;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.admin-product-form .admin-product-form-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.admin-product-form .admin-product-form-card .card-body {
    padding: 1.5rem;
}

.admin-product-form-section-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-product-form-section-head--split {
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.admin-product-form-section-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.admin-product-form-section-head > div:last-child {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-product-form-section-head h5 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-secondary);
}

.admin-product-form-section-head p {
    margin: 0.35rem 0 0;
    line-height: 1.45;
}

.admin-product-form .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
}

.admin-product-form-control {
    min-height: 3rem;
    border-radius: 12px;
    border-color: #dbe3ee;
    padding: 0.75rem 0.95rem;
    box-shadow: none;
}

.admin-product-form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.admin-product-form .input-group > .admin-product-form-control {
    min-height: 3rem;
}

.admin-product-form-addon {
    border-radius: 0 12px 12px 0;
    background: #f8fafc;
    border-color: #dbe3ee;
    color: #6b7280;
    padding-left: 1rem;
    padding-right: 1rem;
}

.admin-product-form-textarea {
    min-height: 10rem;
    resize: vertical;
}

.admin-product-inline-action {
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-weight: 600;
}

.admin-list-filter-card .card-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.admin-list-table-card {
    margin-top: 0.25rem;
}

@media (max-width: 991.98px) {
    .admin-product-form .admin-product-form-card .card-body {
        padding: 1.25rem;
    }

    .admin-product-form-section-icon {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 12px;
    }

    .admin-product-inline-action {
        width: 100%;
        justify-content: center;
    }
}
