/* Custom color variables */
:root {
    --primary-color: #4285F4;
    --secondary-color: #34A853;
    --accent-color: #FBBC05;
    --danger-color: #EA4335;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

/* Override Bootstrap colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: #3367d6;
    border-color: #3367d6;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #2d9247;
    border-color: #2d9247;
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

/* General styles */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


body {
    background:
        /* White overlay for brightness */
        linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.85) 100%),
        /* Matching gradient underneath */
        linear-gradient(135deg, #b2f5ea 0%,
            /* Light aqua */
            #99e5f2 25%,
            /* Light sky */
            #81d4e3 50%,
            /* Sky blue */
            #65a0c3 75%,
            /* Dashboard blue */
            #4f7cac 100%
            /* Deep blue */
        );
    background-attachment: fixed;
    min-height: 100vh;
}






/* Card styles */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: rgba(66, 133, 244, 0.1);
    font-weight: 600;
}

/* Status badge colors */
.badge-pending {
    background-color: var(--accent-color);
    color: #000;
}

.badge-awaiting-payment {
    background-color: #FF9800;
    color: #000;
}

.badge-approved {
    background-color: #9C27B0;
    color: #fff;
}

.badge-confirmed {
    background-color: var(--secondary-color);
    color: #fff;
}

.badge-cancelled {
    background-color: var(--danger-color);
    color: #fff;
}

/* Dashboard styles */
.stats-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #fff;
}

.stats-card .stats-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.stats-card .stats-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-primary {
    background-color: var(--primary-color);
}

.stats-secondary {
    background-color: #127b0e;
}

.stats-warning {
    background-color: var(--accent-color);
    color: #000;
}

.stats-danger {
    background-color: var(--danger-color);
}

/* Dashboard icons */
.dashboard-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Booking details */
.booking-details {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.booking-details .booking-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.booking-details .booking-label {
    font-weight: 600;
    color: #6c757d;
}

/* Notes section */
.notes-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.note-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #dee2e6;
}

.note-item.admin-note {
    border-left-color: var(--primary-color);
}

.note-item.user-note {
    border-left-color: var(--secondary-color);
}

.note-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Form styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(66, 133, 244, 0.25);
}

/* Button with icon */
.btn-icon {
    display: inline-flex;
    align-items: center;
}

.btn-icon i {
    margin-right: 8px;
}

/* Login/Register page */
.auth-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.social-btn {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.btn-google {
    background-color: #DB4437;
}

.btn-apple {
    background-color: #000;
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.divider span {
    padding: 0 10px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive utilities */
@media (max-width: 767.98px) {
    .stats-card {
        margin-bottom: 15px;
    }

    .stats-card .stats-value {
        font-size: 2rem;
    }

    .dashboard-icon {
        font-size: 1.5rem;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar styling */
.navbar {
    background-color: none;
    border-bottom: 0;
    padding: 1rem 0;
    box-shadow: none;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.25rem;
    color: #333 !important;
    text-decoration: none;
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
    color: #111827 !important;
}

/* Main content */
.main-content {
    padding-top: 0;
    background: transparent;
    min-height: 90vh;
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    margin-top: 4rem;
    width: 100%;
}

.footer p {
    color: #333;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 600;
}

/* Remove Bootstrap defaults */
.container {
    max-width: 1200px;
}

/* Dropdown styles */
.dropdown-menu {
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
}

.dropdown-item {
    color: #374151;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #111827;
}

/* Remove blue theme elements */
.bg-primary {
    background-color: transparent !important;
}

.text-primary {
    color: #111827 !important;
}

.btn-primary {
    background-color: #111827;
    border-color: #111827;
}

.btn-primary:hover {
    background-color: #1f2937;
    border-color: #1f2937;
}

* {
    box-sizing: border-box;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Hero section with clean background */
.hero-section {
    position: relative;
    padding: 40px 0;
    margin: 24px 0;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    /* Gradient background for the text */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback for browsers that don't support background-clip: text */
    color: #111827;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 48px;
    line-height: 1.6;
    color: #4b5563;
}

/* Enhanced action buttons */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-primary {
    background: #1f2937;
    color: white;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.15);
}

.hero-btn-primary:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 41, 55, 0.2);
}

.hero-btn-secondary {
    background: white;
    color: #1f2937;
    border: 2px solid #e5e7eb;
}

.hero-btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Stats section */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #111827;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    color: #667eea;
}

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

.hero-visual {
    position: relative;
    height: 100%;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.price-card {
    top: 40px;
    right: -20px;
    width: 200px;
}

.destination-card {
    bottom: 60px;
    left: -20px;
    width: 240px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.card-title {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.destination-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.destination-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.destination-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.destination-info {
    flex: 1;
}

.destination-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.destination-detail {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* Search section */
.search-section {
    margin-top: 60px;
}

.search-container {
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.search-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.search-tab.active {
    background: #f3f4f6;
    color: #111827;
}

.search-grid {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 24px;
}

.search-item {
    flex: 1;
    position: relative;
}

.search-item:last-child {
    flex: 0 0 auto;
}

.search-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.search-input {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    font-size: 0.9375rem;
    color: #374151;
    padding: 12px 16px;
    background: white;
    transition: all 0.2s;
}

.search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-button {
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 10px;
    height: 52px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.15);
}

.search-button:hover {
    background: #111827;
    transform: translateY(-2px);
}

/* Hotels section */
.hotels-section {
    margin: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #111827;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.hotel-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.hotel-image-wrapper {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-image {
    transform: scale(1.05);
}

.hotel-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.hotel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
    z-index: 2;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6px;
    gap: 12px;
}

.hotel-name {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.hotel-price {
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
}

.hotel-location {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 400;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 100%);
    margin: 80px 0;
    border-radius: 20px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    /*border: none;*/
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #1f2937;
    color: white;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.15);
}

.btn-primary:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 41, 55, 0.2);
}

.btn-secondary {
    background: white;
    color: #1f2937;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-container {
        padding: 0 20px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-image-container {
        height: 400px;
    }

    .floating-card {
        display: none;
    }

    .search-section {
        margin-top: 40px;
    }

}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        margin: 16px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: 24px;
    }

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

    .search-tabs {
        flex-wrap: wrap;
    }

    .search-grid {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .search-item {
        width: 100%;
    }

    .search-input {
        font-size: 16px;
        /* Prevents iOS zoom */
    }

    .search-button {
        width: 100%;
        height: 48px;
    }

    .hotels-section {
        margin: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .hotel-image-wrapper {
        height: 300px;
    }

    .cta-section {
        padding: 60px 30px;
        margin: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .page-container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-image-container {
        height: 300px;
        border-radius: 20px;
    }

    .search-container {
        padding: 8px;
    }

    .search-tab {
        padding: 12px;
        font-size: 0.875rem;
    }

    .search-grid {
        padding: 16px;
    }

    .hotel-info {
        padding: 16px;
    }

    .hotel-name {
        font-size: 1.125rem;
    }

    .cta-section {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Fix for input zoom on iOS */
input,
select,
textarea {
    font-size: 16px;
}


/* Enhanced Auth Styles */
.track-container,
.auth-container {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    margin: 3rem auto;
    transition: all 0.3s ease;
}

.auth-logo-container {
    width: 70px;
    height: 70px;
    background-color: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.auth-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.auth-logo-container:hover::before {
    width: 100%;
    height: 100%;
}

.auth-logo {
    animation: fly 3s infinite ease-in-out;
    z-index: 1;
}

.auth-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6b7280;
    margin-bottom: 0;
}

/* Enhanced Button Styles */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-google {
    background-color: white;
    color: #212529;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-google:hover {
    background-color: #f9fafb;
    color: #212529;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Loading Button States */
.btn-content,
.btn-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn.loading .btn-content {
    opacity: 0;
    visibility: hidden;
}

.btn.loading .btn-spinner {
    display: flex;
}

/* Enhanced Form Controls */
.auth-input {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s ease;
    background-color: #f9fafb;
}

.auth-input:focus {
    background-color: white;
    border-color: #1f2937;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
}

.form-floating>.auth-input:focus~label,
.form-floating>.auth-input:not(:placeholder-shown)~label {
    color: #1f2937;
}

/* Submit Button */
.auth-submit-btn {
    background-color: #1f2937;
    border-color: #1f2937;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn:hover {
    background-color: #111827;
    border-color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.2);
}

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

/* Alert Styles */
.alert {
    border-radius: 0.75rem;
    border: none;
    animation: slideDown 0.3s ease-out;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider span {
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fly {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }

}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }

}

/* Validation Styles */
.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.is-invalid~.invalid-feedback {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

}

/* Clean dashboard styles matching Allu&Co theme */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Welcome section */
.welcome-section {
    margin-bottom: 48px;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.welcome-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 24px;
}

/* Stats cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.stat-icon.primary {
    background: #eff6ff;
    color: #3b82f6;
}

.stat-icon.warning {
    background: #fef3c7;
    color: #d97706;
}

.stat-icon.success {
    background: #d1fae5;
    color: #059669;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Booking sections */
.bookings-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.booking-card {
    background: white;
    border-radius: 16px;
    /* Maintained for card corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    overflow: hidden;
}

.booking-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-title {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Increased gap for icon */
}

.booking-title i.fas {
    /* Style for icons in header */
    font-size: 1.25rem;
    /* Make header icons a bit larger */
}


/* Header count badge - circular */
.booking-header .booking-badge {
    min-width: 26px;
    /* Adjusted for better circle with 1-2 digits */
    height: 26px;
    border-radius: 50%;
    /* Circular */
    font-size: 0.875rem;
    /* 14px, slightly larger for readability */
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Removed padding as size is fixed by width/height */
    line-height: 26px;
    /* Ensure number is centered */
}

.booking-header .badge-warning {
    /* For pending count in header */
    background: #FEF9C3;
    /* Softer yellow */
    color: #713F12;
    /* Darker amber for contrast */
}

.booking-header .badge-success {
    /* For confirmed count in header */
    background: #DCFCE7;
    /* Softer green */
    color: #14532D;
    /* Darker green for contrast */
}


/* Booking list items */
.booking-list {
    padding: 0;
    margin: 0;
}

.booking-item {
    display: block;
    padding: 20px 24px;
    /* Generous padding */
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    transition: background 0.2s ease;
}

.booking-item:hover {
    background: #f9fafb;
}

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

.booking-route {
    font-size: 0.9375rem;
    /* 15px - for Departure -> Destination */
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Gap between status badge (if any) and route text */
}

.booking-route>span:first-of-type {
    /* The route text itself */
    flex-grow: 1;
    /* Allows price to push to the end */
}


.booking-price {
    /* For confirmed bookings price */
    margin-left: auto;
    color: #059669;
    font-weight: 700;
    font-size: 1rem;
    /* 16px - Make price stand out */
}

.booking-details {
    display: flex;
    flex-wrap: wrap;
    /* Allow details to wrap */
    gap: 12px 20px;
    /* row-gap column-gap */
    font-size: 0.8125rem;
    /* 13px for detail text */
    color: #6b7280;
}

.booking-detail {
    display: flex;
    align-items: center;
    /* Default alignment for icon and single line text */
    gap: 8px;
    /* Increased gap between icon and text */
}

.booking-detail i.fas {
    font-size: 0.875rem;
    /* 14px for icons */
    color: #6b7280;
    width: 16px;
    /* Consistent icon sizing */
    text-align: center;
}

.booking-detail-date-wrapper {
    /* Specific for date + countdown */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align text to left */
}

.booking-detail-date-wrapper span:first-child {
    /* The date part */
    font-weight: 500;
    color: #374151;
    /* Slightly darker for emphasis */
    font-size: 0.875rem;
    /* 14px for date */
}

/* Countdown styles are below */


/* Status badge within each booking item */
.status-badge {
    padding: 3px 10px;
    /* Adjusted padding */
    border-radius: 16px;
    /* Pill shape */
    font-size: 0.75rem;
    /* 12px */
    font-weight: 600;
    /* text-transform: capitalize; /* Or uppercase, depending on preference */
    /* letter-spacing: 0.3px; */
    display: inline-block;
    /* Ensure proper rendering */
    line-height: 1.4;
    /* Adjust line height for padding */
}

/* Specific status badge colors (add more as per your BookingStatus enum) */
.badge-pending {
    background: #FEF3C7;
    color: #92400E;
}

/* Amber */
.badge-confirmed {
    background: #D1FAE5;
    color: #065F46;
}

/* Green */
.badge-approved {
    background: #DBEAFE;
    color: #1E40AF;
}

/* Blue */
.badge-paid {
    background: #EDE9FE;
    color: #5B21B6;
}

/* Purple */
.badge-cancelled {
    background: #FEE2E2;
    color: #B91C1C;
}

/* Red */
.badge-awaiting {
    background: #E0E7FF;
    color: #3730A3;
}

/* Indigo */


/* Empty state (already good) */
.empty-state {
    padding: 60px 24px;
    text-align: center;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    opacity: 0.3;
}

.empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.empty-text {
    color: #6b7280;
    margin-bottom: 24px;
}

/* Notification section (already good) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    overflow: hidden;
}

.info-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.info-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-body {
    padding: 24px;
}

.notification-count {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #fee2e2;
    color: #991b1b;
}

/* Buttons (already good, including jump animation) */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    /*border: none;*/
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    text-decoration: none;
}

.btn-primary {
    background: #1f2937;
    color: white;
}

.btn-primary:hover {
    background: #111827;
    transform: translateY(-1px);
}

.btn-outline {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-animated-jump {
    animation: jumpAnimation 1.5s ease-in-out infinite;
    position: relative;
}

@keyframes jumpAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

}

/* View more link (already good) */
.view-more {
    display: block;
    padding: 16px;
    text-align: center;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    border-top: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.view-more:hover {
    background: #f9fafb;
    color: #2563eb;
}

/* Countdown styles (already good) */
.countdown-urgent {
    font-size: 0.75rem;
    color: #dc2626;
    font-weight: bold;
    margin-top: 2px;
}

.countdown-soon {
    font-size: 0.75rem;
    color: #f59e0b;
    font-weight: 500;
    margin-top: 2px;
}

.countdown-future {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 2px;
}

/* Responsive (already good) */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px;
    }

    .bookings-section,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .welcome-section {
        text-align: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Clean, modern styles */
.booking-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.booking-header {
    text-align: center;
    margin-bottom: 48px;
}

/*.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}*/

.booking-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Progress steps */
.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 24px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #1f2937;
    transition: width 0.3s ease;
    width: 0%;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 32px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
}

.step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-title {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}

.step.active .step-title,
.step.completed .step-title {
    color: #1f2937;
}

/* Form sections */
.form-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 32px;
    margin-bottom: 24px;
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #3b82f6;
}

/* Form controls */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #111827;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Airport input styles */
.airport-input-container {
    position: relative;
}

.airport-input {
    padding-right: 48px;
}

.airport-input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
}

.airport-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.airport-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.airport-suggestion:hover,
.airport-suggestion.selected {
    background-color: #f3f4f6;
}

.airport-suggestion:last-child {
    border-bottom: none;
}

.airport-info {
    flex: 1;
}

.airport-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.9375rem;
}

.airport-detail {
    color: #6b7280;
    font-size: 0.813rem;
    margin-top: 2px;
}

.airport-code {
    font-weight: 600;
    color: #3b82f6;
    font-size: 1rem;
    margin-left: 12px;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #6b7280;
}

.loading {
    padding: 16px;
    text-align: center;
    color: #6b7280;
}

/* Radio buttons as cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.radio-card {
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.radio-card input[type="radio"]:checked+label {
    border-color: #3b82f6;
    background: #eff6ff;
}

.radio-card label i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #6b7280;
}

.radio-card input[type="radio"]:checked+label i {
    color: #3b82f6;
}

/* Passenger counter */
.passenger-counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.counter-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.counter-value {
    width: 60px;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    border: 1px solid #e5e7eb;
    height: 40px;
    border-radius: 8px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Passenger cards */
.passenger-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
}

.passenger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.passenger-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.passenger-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-new {
    background: #dbeafe;
    color: #1e40af;
}

.badge-saved {
    background: #d1fae5;
    color: #065f46;
}

/* Review section */
.review-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.review-row:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 500;
    color: #6b7280;
}

.review-value {
    font-weight: 600;
    color: #111827;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    /*border: none;*/
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.btn-primary {
    background: #1f2937;
    color: white;
}

.btn-primary:hover {
    background: #111827;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Error styles */
.text-danger {
    color: #dc2626;
}

.field-validation-error {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #dc2626;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border-color: #dc2626;
}

/* Booking Detail */
:root {
    --primary-color: #1f2937;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-bg: #f9fafb;
    --border-color: #e5e7eb;
    --text-muted: #6b7280;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 0.875rem;
    color: var(--text-muted);
    background: transparent;
    padding: 0;
}

.breadcrumb a {
    color: var(--info-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.breadcrumb a:hover {
    color: #2563eb;
}

.breadcrumb span {
    color: #9ca3af;
}

.booking-page .booking-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.booking-page .booking-header {
    text-align: left;
    padding: 0;
    border: none;
}

.header-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.route-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.route-arrow {
    color: #9ca3af;
    font-size: 1rem;
}

/* Status Badge */
.status-section {
    background: white;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: var(--card-shadow);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    border: 1px solid var(--border-color);
}

.status-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.status-icon.pending {
    background: #fef3c7;
    color: var(--warning-color);
}

.status-icon.awaiting {
    background: #dbeafe;
    color: #2563eb;
}

.status-icon.approved {
    background: #dcfce7;
    color: #16a34a;
}

.status-icon.confirmed {
    background: #d1fae5;
    color: var(--success-color);
}

.status-icon.cancelled {
    background: #fee2e2;
    color: var(--danger-color);
}

.status-icon.paid {
    background: #dbeafe;
    color: #2563eb;
}

.status-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.status-date {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 32px;
    margin-bottom: 32px;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    background: #fafafa;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.card-title i {
    color: var(--info-color);
}

.card-body {
    padding: 28px;
}

/* Flight Visualization - Improved */
.flight-visual {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.flight-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.flight-route {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
    gap: 30px;
}

.city-info {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.city-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.airport-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.airport-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

.airport-code {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.city-country {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.terminal-type {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
    padding: 4px 8px;
    background: rgba(243, 244, 246, 0.8);
    border-radius: 4px;
    display: inline-block;
    align-self: center;
}

.flight-path {
    flex: 0 0 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.flight-path::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #cbd5e1;
    top: 50%;
    transform: translateY(-50%);
}

.flight-path::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    height: 2px;
    width: 30%;
    background: var(--info-color);
    transform: translateY(-50%);
    animation: flightProgress 4s ease-in-out infinite;
}

@keyframes flightProgress {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

.flight-icon {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%) rotate(0deg);
    font-size: 24px;
    color: var(--info-color);
    animation: moveAirplane 4s ease-in-out infinite;
    background: white;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

@keyframes moveAirplane {
    0% {
        left: 0;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 0;
    }
}

/* Flight Details Grid */
.flight-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.detail-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.detail-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.detail-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.class-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
}

.class-badge.economy {
    background: #f3f4f6;
    color: #374151;
}

.class-badge.business {
    background: #dbeafe;
    color: #1e40af;
}

.class-badge.first {
    background: #fef3c7;
    color: #92400e;
}

/* Info Bar */
.info-bar {
    background: #f0f9ff;
    border-left: 4px solid var(--info-color);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-bar i {
    color: var(--info-color);
    font-size: 20px;
    flex-shrink: 0;
}

.info-bar p {
    margin: 0;
    color: #1e40af;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.info-section {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.info-section h5 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section h5 i {
    color: var(--info-color);
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.info-label {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.info-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Passenger Table */
.passenger-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.passenger-table th,
.passenger-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.passenger-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.passenger-table td {
    color: var(--primary-color);
    font-size: 0.9375rem;
    vertical-align: top;
    /* Ensure content aligns well if it wraps */
}

.passenger-table tr:hover {
    background: var(--light-bg);
}

.passenger-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-badge.returning {
    background: #e0e7ff;
    color: #3730a3;
}

.status-badge.new {
    background: #dcfce7;
    color: #166534;
}

/* Notes Section */
.notes-list {
    margin-bottom: 24px;
}

.note-item {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.note-item.admin-note {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.note-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
}

.note-author i {
    color: var(--text-muted);
}

.note-time {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.note-content {
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

.notes-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.notes-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.notes-icon svg {
    width: 100%;
    height: 100%;
    stroke: #9ca3af;
}

.notes-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    resize: vertical;
    margin-bottom: 16px;
    background: white;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.notes-textarea:focus {
    outline: none;
    border-color: var(--info-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.notes-textarea::placeholder {
    color: #9ca3af;
}

/* Actions */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    /*border: none;*/
}

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

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-ghost {
    background: white;
    color: #374151;
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--light-bg);
    border-color: #d1d5db;
}

.btn-block {
    width: 100%;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

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

.timeline-marker {
    position: absolute;
    left: -24px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid white;
    box-shadow: 0 0 0 3px var(--light-bg);
}

.timeline-item.completed .timeline-marker {
    background: var(--success-color);
}

.timeline-item.active .timeline-marker {
    background: var(--info-color);
}

.timeline-item.cancelled .timeline-marker {
    background: var(--danger-color);
}

.timeline-content h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Countdown styles */
.countdown-urgent {
    font-size: 0.75rem;
    color: #dc2626;
    font-weight: bold;
    margin-top: 2px;
}

.countdown-soon {
    font-size: 0.75rem;
    color: #f59e0b;
    font-weight: 500;
    margin-top: 2px;
}

.countdown-future {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 2px;
}



/* Buttons (Revised for closer match to image) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    /* MODIFIED: Adjusted padding */
    border-radius: 8px;
    /* MODIFIED: Adjusted border-radius */
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    /*border: 1px solid transparent; /* MODIFIED: Base border for alignment and btn-ghost */
}

.btn-primary {
    /* This is your blue button, e.g., for "Add Note" */
    background: var(--info-color);
    color: white;
    border-color: var(--info-color);
    /* Ensure border color matches */
}

.btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-danger {
    /* For Delete and Cancel buttons */
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
    /* Ensure border color matches */
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-ghost {
    /* For "Back to List" button */
    background: white;
    color: #374151;
    border-color: var(--border-color);
    /* Uses the transparent border from .btn and sets color */
}

.btn-ghost:hover {
    background: var(--light-bg);
    border-color: #d1d5db;
}

/* ADDED/UPDATED: .btn-warning for "Edit Booking" button */
.btn-warning {
    background: var(--warning-color);
    /* Uses your existing --warning-color: #f59e0b; */
    color: white;
    border-color: var(--warning-color);
    /* Ensure border color matches */
}

.btn-warning:hover {
    background: #d97706;
    /* A darker orange for hover */
    border-color: #d97706;
    transform: translateY(-1px);
    /* Consistent hover effect */
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    /* Consistent hover effect */
}

/* Ensure actions-grid is defined (it likely is already) */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns */
    gap: 16px;
    /* Space between buttons */
}



.passenger-name-container {
    position: relative;
}

.full-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.name-breakdown {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.name-part {
    font-size: 0.8rem;
}

.name-label {
    color: #6b7280;
    font-weight: 500;
    min-width: 50px;
    display: inline-block;
}

.name-value {
    color: #374151;
    font-weight: 600;
}

.new-passenger-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #10b981;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Remove blue theme elements */
.bg-primary {
    background-color: transparent !important;
}

.text-primary {
    color: #111827 !important;
}

.btn-primary {
    background-color: #111827;
    border-color: #111827;
}

.btn-primary:hover {
    background-color: #1f2937;
    border-color: #1f2937;
}

.modal .alert {
    border-radius: 0.375rem;
    border: 1px solid #ffe69c;
}

.modal .btn-secondary {
    background-color: #34A853;
    border-color: #34A853;
    color: #fff;
}

.modal .btn-secondary:hover,
.modal .btn-secondary:focus {
    background-color: rgb(45, 146, 71);
    border-color: rgb(45, 146, 71);
}

.btn-group-sm>.btn,
.btn-sm {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

#passwordStrengthBar.password-strong {
    width: 100%;
    background-color: #198754;
}

#passwordStrengthBar.password-good {
    width: 75%;
    background-color: #ffc107;
}

#passwordStrengthBar.password-fair {
    width: 50%;
    background-color: #fd7e14;
}

#passwordStrengthBar.password-weak {
    width: 25%;
    background-color: #dc3545;
}

#form-user-register label,
#form-user-login label {
    color: #777;
}

.alert {
    position: relative;
}

.close-sys-alert {
    position: absolute;
    right: 10px;
    top: 5px;
    color: red;
    text-decoration: none;
}

.white-list {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 320px;
    overflow: auto;
    background: white;
    z-index: 999;
    top: 50px!important;
    position: absolute!important;
}

.air_from-txt {
    border: 0px!important;
    position: absolute;
    z-index: -1;
    background: transparent;
}

.toast-message ul {
    margin: 0px;
    padding-left: 0px;
    list-style: none;
    font-size: 13px;
}

.toast-message {
    font-size: 13px;
}

.page-booking-detail .booking-header {
    text-align: left;
    padding-left: 0px;
    padding-right: 0px;
    gap: 0px;
    align-items: center;
    display: block;
}

.booking-header .header-info::after {
    content: "";
    float: none;
    clear: both;
    display: block;
}

.booking-header .header-info h1 {
    float: left;
}

.booking-header .header-info .header-actions {
    float: right;
    margin-top: 5px;
}

.btn-checkout {
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

.notice-field {
    font-style: italic;
    color: rgb(247, 85, 85);
    font-size: 13px;
    margin-bottom: 0px;
}

.small-title {
    font-size: 18px;
    margin-bottom: 0px;
}

.head-block-contact {
    margin-bottom: 15px;
}

.track-container {
    max-width: 100%;
}

.btn-track {
    width: 100%;
    height: 58px;
}


.input-error {
    border-color: red!important;
}