@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* Custom Styles for Flight Search Application */

:root {
    /* Portal Branding Color Tokens */
    --primary-color: #2563eb;   /* Portal Electric Blue */
    --primary-light: #1d4ed8;   /* Hover Blue */
    --accent-color: #0d9488;    /* Portal Teal */
    --accent-hover: #0f766e;
    --secondary-color: #64748b;
    --success-color: #0d9488;   /* Portal Teal is used for success/status */
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    --bg-color: #f8f9fa;        /* Light Bg from Portal */
    --surface-color: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.85);
    
    --text-main: #1e293b;       /* Dark text */
    --text-muted: #64748b;      /* Slate text */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    
    --radius-md: 8px;           /* Portal radius is slightly larger and cleaner */
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;

    /* Extra portal variables */
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --brand-teal: #0d9488;
    --brand-teal-light: #ccfbf1;
    --brand-blue-light: #dbeafe;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-lg);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Navigation */
.navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    padding: 15px 0 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #333333 !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease, background-color 0.2s ease;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Cards */
.card {
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--surface-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    font-weight: 600;
    background-color: var(--bg-color);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: var(--radius-md);
    border: 1px solid #CBD5E1;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
    padding: 0.6rem 1.25rem;
    transition: all var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Flight Result Card */
.flight-card {
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.flight-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.airline-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.airline-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    padding: 4px;
    background: var(--bg-color);
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.airline-name {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.flight-price {
    text-align: right;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* Flight Segment */
.flight-segment {
    padding: 15px 0;
    border-bottom: none;
}

.flight-segment:last-child {
    border-bottom: none;
}

.flight-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.flight-point {
    flex: 1;
}

.flight-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.flight-airport {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.flight-duration-line {
    flex: 2;
    text-align: center;
    position: relative;
    padding: 0 24px;
}

.duration-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flight-line {
    height: 2px;
    background: rgba(15, 23, 42, 0.1);
    position: relative;
    border-radius: 2px;
}

.flight-line::before {
    content: '\2708';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    color: var(--accent-color);
    font-size: 1.2rem;
    line-height: 1;
    background: var(--surface-color);
    padding: 0 8px;
}

.stops-badge {
    font-size: 0.75rem;
    margin-top: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Flight Details */
.flight-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f8f9fa;
}

.detail-item {
    display: flex;
    align-items: start;
    gap: 8px;
}

.detail-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 2px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #212529;
}

/* Price Breakdown */
.price-breakdown {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.price-row.total {
    font-size: 1.1rem;
    font-weight: 600;
    padding-top: 10px;
    border-top: 2px solid #dee2e6;
    margin-top: 10px;
}

/* Badges */
.badge {
    padding: 0.4em 0.8em;
    font-weight: 500;
}

/* Loading Spinner */
.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .flight-route {
        flex-direction: column;
        gap: 15px;
    }
    
    .flight-duration-line {
        order: 3;
        width: 100%;
    }
    
    .flight-point {
        width: 100%;
    }
    
    .flight-details {
        grid-template-columns: 1fr;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flight-card {
    animation: fadeIn 0.4s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Layover Info */
.layover-info {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Direct Flight Badge */
.direct-flight {
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* CO2 Emissions */
.co2-info {
    background: #d1ecf1;
    border-left: 4px solid var(--info-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #0c5460;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Collapse Animation */
.collapse {
    transition: height 0.3s ease;
}

/* Font Monospace */
.font-monospace {
    font-family: 'Courier New', Courier, monospace;
}


/* Filter Sidebar Styles */
.sticky-filters {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow: visible;
}

.filter-sidebar {
    padding: 1rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.filter-section {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkboxes {
    max-height: 200px;
    overflow-y: auto;
}

.filter-checkboxes .form-check {
    margin-bottom: 0.5rem;
}

.filter-checkboxes .form-check-label {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.filter-checkboxes .badge {
    font-size: 0.75rem;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
}

/* Filter Scrollbar */
.filter-checkboxes::-webkit-scrollbar {
    width: 6px;
}

.filter-checkboxes::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.filter-checkboxes::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.filter-checkboxes::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Results Count */
#filteredResultCount {
    font-weight: 700;
    color: var(--primary-color);
}

#totalResultCount {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Sort Buttons */
.btn-group .btn {
    border-radius: 6px !important;
    margin-right: 4px;
    border: 1px solid #CBD5E1 !important;
    background-color: #FFFFFF;
    color: #475569;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

.btn-group .btn.active {
    background-color: #E0F2FE !important;
    color: #0369A1 !important;
    border-color: #7DD3FC !important;
    font-weight: 600;
}

/* Mobile Responsiveness for Filters */
@media (max-width: 768px) {
    .route-swap-col {
        min-height: auto;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .sticky-filters {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 1rem;
    }
    
    .filter-sidebar {
        padding: 0.75rem;
        max-height: none;
        overflow: visible;
    }
    
    .filter-section {
        padding: 0.75rem 0;
    }
}

/* Keep filter card content fully reachable despite global .card overflow rules */
#resultsSection .sticky-filters {
    overflow: visible;
}

/* Scrollbar for full filter panel */
.filter-sidebar::-webkit-scrollbar {
    width: 8px;
}

.filter-sidebar::-webkit-scrollbar-track {
    background: #eef3f8;
    border-radius: 6px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: #9aaec2;
    border-radius: 6px;
}

.filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: #7d95ac;
}

/* Flight Card Hover Effect with Filters */
.flight-card.filtered-out {
    display: none;
}

/* Clear Filters Button */
#clearFiltersBtn,
#clearFiltersBtn2 {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

/* No Results Message */
#noResultsMessage {
    background: white;
    border-radius: 10px;
    padding: 3rem 2rem;
}


/* Booking Progress Styles */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.progress-line {
    width: 100px;
    height: 3px;
    background: #e9ecef;
    margin: 0 1rem;
    margin-bottom: 2rem;
}

.progress-step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.progress-step.completed .step-label {
    color: var(--success-color);
}

.progress-line.completed {
    background: var(--success-color);
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line.active {
    background: linear-gradient(to right, var(--success-color) 0%, var(--success-color) 50%, #e9ecef 50%, #e9ecef 100%);
}

/* Traveler Card Styles */
.traveler-card {
    border-left: 4px solid var(--primary-color);
}

.traveler-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.traveler-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.traveler-type-adult {
    background: #e7f3ff;
    color: #0d6efd;
}

.traveler-type-child {
    background: #fff3cd;
    color: #856404;
}

.traveler-type-infant {
    background: #f8d7da;
    color: #721c24;
}

/* Flight Summary Styles */
.flight-summary-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.flight-summary-item:last-child {
    border-bottom: none;
}

.flight-route {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.flight-route-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Confirmation Page Styles */
.confirmation-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.booking-reference {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 1rem 0;
}

.pnr-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

/* Mobile Responsiveness for Booking */
@media (max-width: 768px) {
    .booking-progress {
        padding: 1rem 0.5rem;
    }
    
    .progress-line {
        width: 40px;
        margin: 0 0.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .booking-reference {
        font-size: 1.5rem;
    }
}

/* Flight Badges */
.flight-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.flight-badges .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
}

.flight-badges .badge i {
    font-size: 0.7rem;
}

/* Journey meta row shown above first departure of each journey */
.journey-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.journey-meta-item {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
}

.journey-meta-label {
    background: linear-gradient(120deg, #0f4c81 0%, #0d6f9f 100%);
    color: #fff;
}

.journey-meta-direct {
    background: var(--success-color);
    color: #fff;
}

.journey-meta-stops {
    background: #6c757d;
    color: #fff;
}

.journey-meta-duration {
    background: #0dcaf0;
    color: #083344;
}

/* Dotted separator only between different journey groups */
.itinerary-block.journey-separator {
    border-bottom: 1px dashed #c6d3e0;
    padding-bottom: 0.9rem;
    margin-bottom: 1rem !important;
}

/* Itinerary section labels in search results */
.itinerary-heading-wrap {
    text-align: center;
    border-bottom: 1px dashed rgba(95, 136, 171, 0.35);
    padding-bottom: 0.45rem;
}

.itinerary-heading {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.itinerary-heading-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(120deg, #0f4c81 0%, #0d6f9f 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(16, 74, 119, 0.24);
}

/* Booking Progress Indicator */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    width: 80px;
    height: 2px;
    background: #e9ecef;
    margin: 0 1rem;
    margin-bottom: 1.5rem;
}

.progress-line.completed {
    background: var(--success-color);
}

.progress-line.active {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .booking-progress {
        padding: 1rem 0;
    }
    
    .progress-line {
        width: 40px;
        margin: 0 0.5rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Price Grid Styles */
.price-grid-table {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.price-grid-table th,
.price-grid-table td {
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem;
    min-width: 90px;
}

.price-grid-table .corner-cell {
    background: #f8f9fa;
    border: none;
}

.price-grid-table .date-header {
    background: #e9ecef;
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
}

.price-grid-table .date-label {
    white-space: nowrap;
}

.price-cell {
    position: relative;
    transition: all 0.2s ease;
    font-weight: 600;
}

.price-cell.price-low {
    background: #d4edda;
    color: #155724;
}

.price-cell.price-medium {
    background: #fff3cd;
    color: #856404;
}

.price-cell.price-high {
    background: #f8d7da;
    color: #721c24;
}

.price-cell.unavailable,
.price-cell.invalid {
    background: #f8f9fa;
    color: #6c757d;
}

.price-cell:not(.unavailable):not(.invalid):hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    cursor: pointer;
}

.price-value {
    font-size: 0.95rem;
    padding: 0.5rem 0.25rem;
}

.price-unavailable {
    font-size: 1.2rem;
    color: #adb5bd;
}

/* Price Grid Modal */
#priceGridModal .modal-dialog {
    max-width: 95%;
}

#priceGridModal .table-responsive {
    max-height: 500px;
    overflow: auto;
}

/* Price Grid Progress */
#priceGridLoading .progress {
    height: 8px;
    border-radius: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #priceGridModal .modal-dialog {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .price-grid-table {
        font-size: 0.75rem;
    }
    
    .price-grid-table th,
    .price-grid-table td {
        min-width: 60px;
        padding: 0.25rem;
    }
    
    .price-value {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    .date-label {
        font-size: 0.75rem;
    }
}

/* Multi-City Styles */
.multi-city-segment {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.multi-city-segment:hover {
    border-left-color: var(--success-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.multi-city-segment .card-body {
    padding: 1.25rem;
}

.multi-city-segment h6 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Trip Type Selector */
.btn-group .btn-check:checked + .btn-outline-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-group .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-group .btn-outline-primary:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Animation for segment addition */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.multi-city-segment {
    animation: slideIn 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .multi-city-segment .card-body {
        padding: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        border-radius: 0.375rem !important;
        margin-bottom: 0.5rem;
    }
}


/* Workflow Statistics Styles */
.stat-box {
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Workflow Settings Form Sections */
#workflowSettingsForm h6 {
    color: #495057;
    font-weight: 600;
}

#workflowStatusBadge {
    text-align: center;
}

#workflowStatusBadge .badge {
    font-size: 1rem;
    padding: 8px 16px;
}


/* My Bookings Page Styles */
.booking-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.booking-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.booking-card.pending {
    border-left: 4px solid #ffc107;
}

.booking-card.approved {
    border-left: 4px solid #28a745;
}

.booking-card.rejected {
    border-left: 4px solid #dc3545;
}

.booking-card.auto_approved {
    border-left: 4px solid #17a2b8;
}

.booking-card.cancelled {
    border-left: 4px solid #6c757d;
    opacity: 0.7;
}

#statusTabs .nav-link {
    cursor: pointer;
    color: #495057;
}

#statusTabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    font-weight: 600;
}

#statusTabs .nav-link:hover {
    color: #0d6efd;
}

#statusTabs .badge {
    font-size: 0.75rem;
    padding: 0.25em 0.5em;
}

/* Modern UI Refresh */

:root {
    /* Brand colors kept consistent with homepage hero */
    --primary-color: #2563eb;
    --secondary-color: #64748B;
    --success-color: #10B981;
    --danger-color: #EF2853;
    --warning-color: #F59E0B;
    --info-color: #38BDF8;
    --accent-color: #0d9488;
    --bg-color: #F8FAFC;
    --surface-color: #FFFFFF;
    --text-color: #0F172A;
    --muted-text: #64748B;
    --ring-color: rgba(37, 99, 235, 0.16);
    --nav-dark: #0F172A;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: #FFFFFF !important;
    background-image: none !important;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.navbar {
    background: linear-gradient(110deg, #123d66 0%, #0f4c81 56%, #0d6f9f 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 30px rgba(10, 35, 58, 0.22);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.72) !important;
    border-radius: 999px;
    padding: 0.4rem 0.85rem !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.container-fluid.my-4,
.container.my-5 {
    position: relative;
    z-index: 1;
}

.card {
    border: 1px solid rgba(80, 116, 150, 0.18);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(21, 45, 71, 0.08);
    overflow: hidden;
    animation: fade-up 0.55s ease both;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(21, 45, 71, 0.14) !important;
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.card-header.bg-primary,
.modal-header.bg-primary {
    background: linear-gradient(120deg, #133d64 0%, #0f4c81 55%, #0c6a9b 100%) !important;
}

.card-header.bg-info {
    background: linear-gradient(120deg, #0d7ba8 0%, #1f9ee0 100%) !important;
}

.card-header.bg-success {
    background: linear-gradient(120deg, #0d6b56 0%, #0f8b6d 100%) !important;
}

#searchForm {
    background: linear-gradient(165deg, rgba(247, 251, 255, 0.96), rgba(232, 241, 249, 0.9));
    border: 1px solid rgba(106, 145, 176, 0.18);
    border-radius: 16px;
    padding: 1.15rem;
}

#regularSearchForm,
#multiCitySearchForm {
    padding: 0.3rem;
}

.search-field-stack {
    display: flex;
    flex-direction: column;
}

.route-swap-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
}

.route-swap-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
}

.route-swap-btn i {
    font-size: 0.9rem;
}

.passenger-dropdown-toggle {
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 6px !important;
    border: 1px solid #dee2e6 !important;
    background-color: #ffffff !important;
    color: #212529 !important;
    font-weight: 400;
    font-size: 0.875rem !important;
}

.passenger-dropdown-toggle:hover,
.passenger-dropdown-toggle:focus {
    border-color: #2f78b0;
    box-shadow: 0 0 0 0.24rem var(--ring-color);
    background-color: #fff;
}

.passenger-dropdown-menu {
    border-radius: 12px;
    border: 1px solid #bfd0df;
    min-width: 260px;
}

.passenger-count {
    min-width: 42px;
    pointer-events: none;
}

.btn-group .btn-outline-primary {
    border-radius: 999px !important;
    border-color: rgba(15, 76, 129, 0.45);
    color: #205685;
    background: rgba(255, 255, 255, 0.76);
}

.btn-group .btn-check:checked + .btn-outline-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(120deg, #0f4c81 0%, #0d6f9f 100%);
    box-shadow: 0 10px 20px rgba(12, 80, 123, 0.28);
}

.form-label {
    color: #243c53;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-control,
.form-select {
    border: 1px solid #bfd0df;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.94);
    min-height: 46px;
    padding: 0.62rem 0.85rem;
    color: var(--text-color);
}

.form-select-sm {
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 6px !important;
}

.form-control::placeholder {
    color: #8ca1b6;
}

.form-control:focus,
.form-select:focus {
    border-color: #2f78b0;
    box-shadow: 0 0 0 0.24rem var(--ring-color);
    background-color: #fff;
}

.form-check-input {
    border-color: #8ba8c0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-primary {
    border: none;
    background: linear-gradient(120deg, #0f4c81 0%, #0d6f9f 100%);
}

.btn-primary:hover {
    background: linear-gradient(120deg, #0d416d 0%, #0c638d 100%);
}

.btn-outline-primary {
    border-color: #2f78b0;
    color: #225c89;
}

.btn-outline-primary:hover {
    background-color: #225c89;
    border-color: #225c89;
}

#resultsSection .sticky-filters .card-header {
    background: linear-gradient(120deg, #f2f8ff 0%, #eaf2fb 100%) !important;
}

.filter-sidebar {
    background: linear-gradient(180deg, #f9fcff 0%, #f3f8fd 100%);
}

.flight-card {
    border: 1px solid rgba(95, 136, 171, 0.2);
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #f5f9fd 100%);
    box-shadow: 0 10px 24px rgba(27, 58, 90, 0.08);
}

.flight-header {
    border-bottom: 1px solid rgba(136, 166, 194, 0.26);
}

.price-amount {
    color: #0f4c81;
    font-size: 2rem;
}

.price-breakdown {
    border: 1px solid rgba(123, 156, 185, 0.2);
    background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.detail-icon {
    color: #0d6f9f;
}

.alert {
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(25, 56, 84, 0.08);
}

.modal-content {
    border: 1px solid rgba(95, 136, 171, 0.22);
    border-radius: 20px;
    box-shadow: 0 30px 50px rgba(12, 35, 57, 0.25);
}

.price-grid-table th,
.price-grid-table td {
    border-color: rgba(117, 149, 177, 0.25);
}

.price-grid-table .date-header {
    background: #edf4fb;
    color: #34516b;
}

.price-cell.price-low {
    background: #d8f0e6;
    color: #0d6b56;
}

.price-cell.price-medium {
    background: #fff2d8;
    color: #94631e;
}

.price-cell.price-high {
    background: #f9ded9;
    color: #943629;
}

.multi-city-segment {
    border-left: 5px solid #0f4c81;
    border-radius: 14px;
}

.multi-city-segment h6 {
    color: #1c4d77;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    #searchForm {
        padding: 0.9rem;
    }

    .price-amount {
        font-size: 1.65rem;
    }
}

@media (max-width: 768px) {
    body {
        background:
            radial-gradient(circle at 10% 8%, rgba(31, 158, 224, 0.2), transparent 24%),
            linear-gradient(180deg, #f7fbff 0%, #ecf3f9 100%);
    }

    .card {
        border-radius: 16px;
    }

    .navbar .nav-link {
        margin-top: 0.35rem;
    }

    .btn-group .btn-outline-primary {
        width: 100%;
    }
}

/* Global API environment badge */
.environment-mode-badge {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 1100;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px rgba(12, 35, 57, 0.22);
    pointer-events: none;
}

.environment-mode-badge.test {
    background: linear-gradient(120deg, #946200 0%, #c58c13 100%);
}

.environment-mode-badge.live {
    background: linear-gradient(120deg, #0d6b56 0%, #0f8b6d 100%);
}

/* Next-gen corporate travel refresh */
:root {
    --page-surface: rgba(255, 255, 255, 0.75);
    --page-surface-strong: rgba(255, 255, 255, 0.9);
    --surface-border: rgba(15, 23, 42, 0.08);
    --surface-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    --surface-shadow-strong: 0 20px 40px rgba(15, 23, 42, 0.08);
    --hero-accent: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

body {
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: var(--text-color);
}

.navbar {
    min-height: 72px;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Homepage-specific hero title — remove narrow max-width constraint */
.dot-grid .hero-title {
    max-width: none;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.navbar-brand i {
    font-size: 1.05em;
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
}

.navbar .nav-link {
    font-weight: 600;
}

.page-shell {
    position: relative;
    z-index: 1;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(111, 146, 177, 0.18);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(31, 158, 224, 0.14), transparent 30%),
        radial-gradient(circle at bottom left, rgba(0, 162, 168, 0.13), transparent 24%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 247, 252, 0.92) 100%);
    box-shadow: var(--surface-shadow-strong);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -50% auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(13, 111, 159, 0.2) 0%, rgba(13, 111, 159, 0) 70%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 0.5rem 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.09);
    color: #0f4c81;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    margin-top: 1rem;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 12ch;
}

.hero-lead {
    margin-top: 1rem;
    max-width: 58ch;
    color: #496176;
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(123, 156, 185, 0.2);
    color: #27465e;
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

.insight-panel {
    border: 1px solid rgba(111, 146, 177, 0.18);
    border-radius: 24px;
    background: rgba(10, 27, 43, 0.94);
    color: #f3f8fd;
    padding: 1.25rem;
    box-shadow: 0 24px 50px rgba(11, 23, 35, 0.25);
}

.insight-panel h3,
.insight-panel h4,
.insight-panel h5,
.insight-panel h6 {
    color: inherit;
}

.insight-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    font-size: 0.78rem;
    font-weight: 700;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.metric-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.metric-label {
    margin-top: 0.35rem;
    color: #b8c6d4;
    font-size: 0.82rem;
}

.route-preview {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.route-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.route-preview-code {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.route-preview-meta {
    color: #b8c6d4;
    font-size: 0.8rem;
}

.surface-card {
    background: var(--page-surface);
    backdrop-filter: blur(14px);
    border: 1px solid var(--surface-border);
    box-shadow: var(--surface-shadow);
}

.surface-card .card-header {
    background: rgba(255, 255, 255, 0.6);
}

.search-shell {
    margin-top: 1.25rem;
}

#searchForm {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(111, 146, 177, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#resultsSection {
    margin-top: 1rem;
}

.flight-card {
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.flight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

.booking-progress,
.traveler-card,
.booking-card,
.approval-card,
.stat-box {
    border-radius: 20px;
}

.approval-card,
.booking-card,
.stat-box {
    border: 1px solid rgba(120, 154, 184, 0.18);
}

.section-banner {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 26%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.85) 100%);
    box-shadow: var(--surface-shadow);
}

.section-banner::after {
    content: "";
    position: absolute;
    inset: auto -12% -50% auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    pointer-events: none;
}

.section-banner .banner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-banner .banner-title {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.section-banner .banner-copy {
    color: var(--secondary-color);
    max-width: 60ch;
}

.metric-tile {
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.25rem;
    box-shadow: var(--surface-shadow);
}

.metric-tile .metric-number {
    font-size: 1.85rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary-color);
}

.metric-tile .metric-name {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.control-toolbar {
    border: 1px solid rgba(120, 154, 184, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    padding: 0.85rem 1rem;
    box-shadow: 0 12px 26px rgba(18, 40, 62, 0.06);
}

.data-card {
    border: 1px solid rgba(120, 154, 184, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: var(--surface-shadow);
}

.data-card .card-header {
    background: rgba(245, 249, 253, 0.92);
}

.sidebar-panel {
    border: 1px solid rgba(120, 154, 184, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    box-shadow: var(--surface-shadow);
}

.sidebar-panel .list-group-item {
    border-color: rgba(120, 154, 184, 0.12);
    border-left: 0;
    border-right: 0;
}

.sidebar-panel .list-group-item:first-child {
    border-top: 0;
}

.sidebar-panel .list-group-item:last-child {
    border-bottom: 0;
}

.sidebar-panel .list-group-item.active {
    background: linear-gradient(120deg, #0f4c81 0%, #0d6f9f 100%);
    border-color: transparent;
}

.page-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    letter-spacing: -0.03em;
}

@media (max-width: 991px) {
    .hero-title {
        max-width: none;
    }

    .insight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        border-radius: 22px;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .hero-title {
        font-size: clamp(1.9rem, 10vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* Premium Site Footer styling */
.site-footer {
    background-color: #0F172A;
    color: #94A3B8;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent-color);
}

.site-footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-footer a:hover {
    color: #FFFFFF;
}

.site-footer h5 {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.site-footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.site-footer .footer-bottom {
    font-size: 0.8rem;
}

.testimonial-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    padding: 5rem 0;
}

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-trust-section {
    background: #FFFFFF;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 3rem 0;
}

.brand-logo-gray {
    opacity: 0.5;
    transition: opacity var(--transition-fast);
    max-height: 35px;
    filter: grayscale(100%);
}

.brand-logo-gray:hover {
    opacity: 0.9;
    filter: grayscale(0%);
}

/* Dot Grid Background Pattern */
.dot-grid {
    background-image: radial-gradient(circle, rgba(99, 102, 241, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Gradient Border from Portal */
.gradient-border-card {
    position: relative;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gradient-border-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gradient-border-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gradient-border-card:hover::before {
    opacity: 1;
}

/* Redesigned Premium Footer */
.site-footer {
    background-color: #0F172A !important;
    color: #94A3B8 !important;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary-color) !important;
    padding: 5rem 0 3rem 0 !important;
}

.site-footer a {
    color: #94A3B8 !important;
    text-decoration: none;
    transition: color var(--transition-fast) !important;
}

.site-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.site-footer h5 {
    color: #ffffff !important;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.site-footer hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.site-footer .footer-bottom {
    font-size: 0.8rem;
    color: #64748B !important;
}

/* Custom interactive dashboard switcher styles */
.dashboard-switcher-btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.dashboard-switcher-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.dashboard-switcher-btn:not(.active) {
    background-color: transparent;
    color: var(--text-muted);
}

.dashboard-switcher-btn:not(.active):hover {
    color: var(--text-main);
    background-color: rgba(15, 23, 42, 0.05);
}



