﻿:root {
        --brand: #0B63E5;
        --brand-dark: #0947A8;
        --brand-light: #EFF5FF;
        --gray-50: #F9FAFB;
        --gray-100: #F3F4F6;
        --gray-200: #E5E7EB;
        --gray-600: #6B7280;
        --gray-900: #111827;
    }

    /* Smooth typography & spacing */
    body {
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        color: var(--gray-900);
        background: #FFFFFF;
    }

    /* Modern tabs with underline motion */
    .nav-custom {
        border-bottom: 1px solid var(--gray-200);
        gap: 0.25rem;
        padding-bottom: 0;
        position: sticky;
        top: 82px;
        z-index: 30;
        background: #fff;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scroll-margin-top: 100px;
    }
    .nav-custom .nav-item {
        flex: 0 0 auto;
    }
    .nav-custom .nav-link {
        border: none;
        background: transparent;
        padding: 0.875rem 1.25rem;
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--gray-600);
        border-radius: 12px 12px 0 0;
        transition: all 0.2s ease;
        position: relative;
    }
    .nav-custom .nav-link i {
        font-size: 1.1rem;
        margin-left: 0.5rem;
        vertical-align: middle;
    }
    .nav-custom .nav-link:hover {
        color: var(--brand);
        background: var(--brand-light);
    }
    .nav-custom .nav-link.active {
        color: var(--brand);
        background: transparent;
    }
    .nav-custom .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 1rem;
        right: 1rem;
        height: 3px;
        background: var(--brand);
        border-radius: 3px 3px 0 0;
    }

    /* card with soft border and shadow */
    .card-premium {
        background: #fff;
        border: 1px solid var(--gray-200);
        border-radius: 24px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 8px 20px rgba(0,0,0,0.03);
        transition: all 0.2s;
        overflow: hidden;
    }

    .price-sticky {
        position: sticky;
        top: 100px;
        background: linear-gradient(145deg, #fff, #fefefe);
        border: 1px solid var(--gray-200);
        border-radius: 28px;
        padding: 1.75rem;
        box-shadow: 0 20px 35px -10px rgba(0,0,0,0.08);
    }

    .price-badge {
        background: var(--brand-light);
        color: var(--brand);
        border-radius: 40px;
        padding: 6px 14px;
        font-size: 0.8rem;
        font-weight: 600;
        display: inline-block;
    }

    .feature-list-clean li {
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .feature-icon {
        width: 22px;
        height: 22px;
        color: var(--brand);
    }
    .highlight-icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ECFDF5;
        color: #059669;
        flex: 0 0 28px;
        font-size: 1rem;
    }
    .rich-content :where(p, ul, ol) {
        margin-bottom: 1rem;
    }
    .rich-content :where(ul, ol) {
        padding-right: 1.25rem;
    }
    .rich-content li {
        margin-bottom: 0.45rem;
    }
    .rich-content strong {
        color: var(--gray-900);
    }

    .doctor-card {
        background: var(--gray-50);
        border-radius: 20px;
        transition: transform 0.1s ease, box-shadow 0.2s;
        border: 1px solid transparent;
    }
    .doctor-card:hover {
        box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    }
    .doctor-option-card {
        cursor: pointer;
    }
    .doctor-option-card.is-selected {
        background: #fff;
        border-color: var(--brand);
        box-shadow: 0 12px 28px -14px rgba(11,99,229,0.45);
    }
    .doctor-select-control {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 2px solid var(--gray-200);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: transparent;
        transition: all 0.2s ease;
    }
    .doctor-option-card.is-selected .doctor-select-control {
        background: var(--brand);
        border-color: var(--brand);
        color: #fff;
    }
    .price-flash {
        animation: priceFlash 0.9s ease;
    }
    @keyframes priceFlash {
        0%, 100% { transform: scale(1); color: var(--brand); }
        35% { transform: scale(1.06); color: #0f9f6e; }
        65% { transform: scale(1.02); color: #f59e0b; }
    }

    .insurance-calc-modern {
        background: linear-gradient(135deg, #F8FAFF, #FFFFFF);
        border-radius: 24px;
        padding: 1.5rem;
        border: 1px solid var(--gray-200);
    }

    .divider-dash {
        height: 1px;
        background: repeating-linear-gradient(90deg, var(--gray-200), var(--gray-200) 6px, transparent 6px, transparent 12px);
        margin: 1rem 0;
    }

    .btn-primary-custom {
        background: var(--brand);
        color: white;
        border: none;
        border-radius: 44px;
        padding: 0.9rem 1.5rem;
        font-weight: 700;
        transition: all 0.2s;
        box-shadow: 0 4px 8px rgba(11,99,229,0.2);
    }
    .btn-primary-custom:hover {
        background: var(--brand-dark);
        transform: translateY(-2px);
        box-shadow: 0 12px 20px -10px rgba(11,99,229,0.4);
    }

    .gallery-item {
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.2s;
        background: var(--gray-50);
    }
    .gallery-item img {
        transition: transform 0.4s ease;
    }
    .gallery-item:hover img {
        transform: scale(1.02);
    }

    /* accordion modern */
    .accordion-modern .accordion-item {
        border: none;
        border-bottom: 1px solid var(--gray-200);
        background: transparent;
    }
    .accordion-modern .accordion-button {
        background: transparent;
        font-weight: 600;
        padding: 1.2rem 0;
        box-shadow: none;
    }
    .accordion-modern .accordion-button:not(.collapsed) {
        color: var(--brand);
        background: transparent;
    }
    .accordion-modern .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .capacity-alert-bar {
        border-radius: 12px;
        overflow: hidden;
    }
    .capacity-alert-bar .alert {
        border: none;
        border-radius: 12px;
        padding: 12px 20px;
        margin-bottom: 0;
    }
    .capacity-progress .progress {
        background-color: #e5e7eb;
        border-radius: 10px;
        height: 8px;
    }
    .timeline-list {
        position: relative;
        display: grid;
        gap: 1rem;
    }
    .timeline-item {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 0.9rem;
        align-items: flex-start;
    }
    .timeline-marker {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--brand-light);
        color: var(--brand);
        font-weight: 800;
        border: 1px solid rgba(11, 99, 229, 0.18);
    }
    .appointment-panel {
        background: var(--gray-50);
        border: 1px solid var(--gray-200);
        border-radius: 18px;
        padding: 1rem;
    }
    .booking-result {
        display: none;
    }
    .booking-result.show {
        display: block;
    }
    .stay-control {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem;
        border: 1px solid var(--gray-200);
        border-radius: 14px;
        background: #fff;
    }
    .stay-control button {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 10px;
        background: var(--brand-light);
        color: var(--brand);
        font-weight: 800;
    }
    .stay-control .stay-value {
        min-width: 76px;
        text-align: center;
        font-weight: 800;
    }
    .recommendation-badge {
        border: 1px solid rgba(11, 99, 229, 0.16);
        background: var(--brand-light);
        color: var(--brand-dark);
        border-radius: 14px;
        padding: 0.9rem 1rem;
    }
    .hotel-card {
        border: 1px solid var(--gray-200);
        border-radius: 16px;
        padding: 1rem;
        cursor: pointer;
        height: 100%;
        background: #fff;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }
    .hotel-card:hover,
    .hotel-card.is-selected {
        border-color: var(--brand);
        box-shadow: 0 12px 26px rgba(11, 99, 229, 0.12);
        transform: translateY(-1px);
    }
    .hotel-card .hotel-radio {
        width: 20px;
        height: 20px;
        border: 2px solid var(--gray-200);
        border-radius: 50%;
    }
    .hotel-card.is-selected .hotel-radio {
        border-color: var(--brand);
        box-shadow: inset 0 0 0 4px #fff;
        background: var(--brand);
    }
    .price-breakdown {
        border: 1px solid var(--gray-200);
        border-radius: 16px;
        padding: 1rem;
        background: var(--gray-50);
        text-align: right;
    }
    .price-breakdown .price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.45rem 0;
        font-size: 0.92rem;
    }
    .price-breakdown .price-row.total {
        border-top: 1px solid var(--gray-200);
        margin-top: 0.35rem;
        padding-top: 0.8rem;
        font-weight: 800;
    }
    .service-card,
    .extra-bed-card {
        border: 1px solid var(--gray-200);
        border-radius: 16px;
        padding: 1rem;
        height: 100%;
        background: #fff;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }
    .service-card:has(.service-checkbox:checked),
    .extra-bed-card:has(input:checked) {
        border-color: var(--brand);
        box-shadow: 0 12px 26px rgba(11, 99, 229, 0.12);
        transform: translateY(-1px);
    }
    .travel-section-title {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        margin: 1.5rem 0 0.9rem;
        font-weight: 800;
    }
    .info-tooltip {
        position: relative;
        display: inline-flex;
        align-items: center;
        cursor: help;
        margin-right: 4px;
        color: var(--gray-600);
    }
    .info-tooltip .tooltip-text {
        visibility: hidden;
        width: 250px;
        background: #222;
        color: #fff;
        text-align: center;
        border-radius: 8px;
        padding: 8px 10px;
        position: absolute;
        z-index: 5;
        bottom: 130%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity .2s ease;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.7;
        white-space: normal;
    }
    .info-tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

    @media (max-width: 768px) {
        .nav-custom { top: 64px; }
        .nav-custom .nav-link { padding: 0.7rem 0.8rem; font-size: 0.85rem; }
        .nav-custom .nav-link i { margin-left: 0.3rem; font-size: 1rem; }
    }
