/* ===== MODERN MIDNIGHT THEME ===== */
:root {
    /* Colors */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #38bdf8;
    /* Electric Cyan */
    --primary-glow: rgba(56, 189, 248, 0.5);
    --secondary: #818cf8;
    /* Indigo */
    --accent: #22d3ee;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;

    /* Surface / Glass */
    --surface-glass: rgba(30, 41, 59, 0.6);
    --surface-glass-hover: rgba(51, 65, 85, 0.7);
    --border-glass: rgba(255, 255, 255, 0.1);
    --glass-blur: 16px;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --gradient-text: linear-gradient(to right, #38bdf8, #818cf8);
    --gradient-btn: linear-gradient(45deg, #0ea5e9, #6366f1);

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Animation */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Light Theme Variables (Optional, currently focusing on Dark Mode First) */
[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --surface-glass: rgba(255, 255, 255, 0.8);
    --surface-glass-hover: rgba(255, 255, 255, 0.95);
    --border-glass: rgba(0, 0, 0, 0.05);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Ensures images fill containers without stretching */
}

/* Specific fix for slider images to handle high-res displays better */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    /* Attempts to enhance sharpness */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-out);
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: center;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    padding: 0 1rem;
    margin: 0 auto 4rem;
}

/* ===== COMPONENTS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-btn);
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6);
}

.btn-secondary,
.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-5px);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.section {
    padding: 6rem 0;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.05em;
    transition: color 0.3s ease;
}

/* Force white logo on transparent navbar (top of page) */
.navbar:not(.scrolled) .logo {
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

/* Force white links on transparent navbar */
.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    /* Updated to image background with overlay */
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../images/hero/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    /* Center text for specific mobile looks */
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    /* Increased width */
    padding: 0 1rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    /* Force cyan text in badge */
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* Force white text in hero because of dark bg image */
    color: #ffffff;
}

.hero h1 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* Force light grey text in hero because of dark bg image */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Force white button style for Contact Us in Hero */
.hero .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
}

/* ===== CARDS (Trips/Gallery) ===== */
.card {
    background: var(--surface-glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.3);
}

.card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

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

.card-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== FEATURES ===== */
.features {
    background: var(--bg-darker);
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    margin-inline: auto;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border-glass);
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    color: var(--text-muted);
}

.footer h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== UTILITIES ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: currentColor;
    margin: 5px 0;
    transition: 0.3s;
}

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

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.w-full {
    width: 100%;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .nav-links {
        display: none;
        /* Hidden by default */
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

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

    .card-image {
        height: 200px;
    }

    .admin-wrapper {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
        /* Hide sidebar on mobile for now, or toggle */
        z-index: 2000;
        width: 100%;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        padding: 2rem 1rem;
    }

    /* Fixed: Mobile Menu Items Visibility in Light Mode */
    .navbar .nav-links.mobile-open a {
        color: var(--text-main) !important;
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-wrapper {
    /* Removed grid definition to prevent conflict with fixed sidebar */
    min-height: 100vh;
    background: var(--bg-dark);
}

.admin-sidebar {
    background: var(--bg-darker);
    border-right: 1px solid var(--border-glass);
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-main {
    margin-left: 280px;
    padding: 3rem;
    width: calc(100% - 280px);
    position: relative;
}

/* ===== ADMIN FORM REFINEMENTS ===== */
.admin-form {
    width: 100%;
    /* User requested full width */
    max-width: 100%;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: 1rem;

    /* Enable Grid Layout for PC/Laptop */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Make specific fields span full width */
.admin-form .form-group {
    grid-column: span 2;
    /* Default to full width for safety */
}

/* Targeting specific inputs for side-by-side if we can allow it */
/* We can use :nth-child or specific classes if we added them. 
   Since we didn't add classes to PHP, we'll keep it simple: 
   Wrapper divs inside the form will be grid items. */

/* Force all direct children of .admin-form (like div.form-group) to be grid items */
.admin-form>div {
    grid-column: span 2;
    /* Full width by default */
}

/* If the user wants specific fields side-by-side, we can target them if they have a shared parent row */
/* In add-trip.php, price/duration are in a div. That div is a grid item. */
.admin-form>div[style*="grid-template-columns"] {
    grid-column: span 2;
    /* The container spans full, internal grid handles 50/50 */
}

/* Responsive fixes */
@media (max-width: 1024px) {
    .admin-main {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        padding: 1.5rem;
    }

    .admin-form {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .admin-form>div {
        grid-column: auto;
    }
}

.admin-nav li {
    margin-bottom: 0.5rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
    vertical-align: top;
    white-space: normal;
}

/* Ensure message column doesn't break layout */
.admin-table td:nth-child(4) {
    min-width: 300px;
    max-width: 500px;
    word-wrap: break-word;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--primary);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.file-upload {
    border: 2px dashed var(--border-glass);
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary);
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== SLIDER COMPONENT ===== */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* For cards with sliders */
    height: 250px;
}

/* Specific override for trip details slider which acts as hero */
.trip-details .slider-container {
    height: 500px;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-glass);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

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

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .trip-details .slider-container {
        height: 300px;
    }
}

/* ===== TRIP DETAILS INCLUDES ===== */
.includes-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.includes-box {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.includes-box h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.includes-box.included h3 {
    color: #4ade80;
}

/* Green for included */
.includes-box.excluded h3 {
    color: #f87171;
}

/* Red for excluded */

.includes-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.includes-list li i {
    margin-top: 4px;
    /* Align icon with text */
    flex-shrink: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-form {
    background: var(--surface-glass);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
}

/* ===== ADMIN LOGIN ===== */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-dark);
    padding: 1rem;
}

.login-card {
    background: var(--surface-glass);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-main);
}

/* ===== ADMIN ACTION BUTTONS ===== */
.action-btns {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
}

.action-btn.edit {
    background: rgba(56, 189, 248, 0.2);
    color: var(--primary);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.action-btn.edit:hover {
    background: var(--primary);
    color: white;
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-btn.delete:hover {
    background: #ef4444;
    color: white;
}

/* ===== ADMIN FORM REFINEMENTS ===== */
.admin-form {
    max-width: 800px;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 1rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
    /* separation line */
    width: 100%;
}

.admin-title {
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
}

/* Fix theme toggle position */
.admin-header .theme-toggle {
    position: static;
    /* Ensure it flows naturally */
    flex-shrink: 0;
    margin-left: auto;
    /* Push it to the right if needed, though justify-content handles it */
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-darker);
    /* Takes white in light mode, dark in dark mode */
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    outline: none;
}

.file-upload {
    background: rgba(15, 23, 42, 0.3);
    border: 2px dashed var(--border-glass);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
}

.admin-sidebar .active {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.1), transparent);
    border-left: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.admin-sidebar .active i {
    color: var(--primary);
}

/* Table Polish */
.admin-table {
    white-space: nowrap;
    /* Prevent awkward wrapping */
}

.admin-table td {
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* ===== TRIP DETAILS INFO GRID ===== */
.trip-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.trip-info-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(var(--glass-blur));
}

.trip-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.3);
}

.trip-info-card h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.trip-info-card p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

/* Icons for the info cards (Pseudo-elements to avoid editing PHP if possible, 
   but editing PHP is cleaner. I will try CSS pseudo-elements first for speed 
   or just stick to clean typography if icons aren't strictly requested, 
   but "ui effect" implies nice visuals.) 
*/

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .trip-info-grid {
        grid-template-columns: 1fr 1fr;
        /* 2x2 on tablets */
    }
}

@media (max-width: 480px) {
    .trip-info-grid {
        grid-template-columns: 1fr;
        /* Stack on phones */
    }
}

/* ===== LIGHT MODE INPUT OVERRIDES (User Request) ===== */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    background: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}