/* ===== Booking Page Styles ===== */

.booking-section {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
}

.booking-container {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(217, 70, 239, 0.2);
    border-radius: 24px;
    padding: 3rem;
}

.booking-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.booking-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* Form Styles */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(217, 70, 239, 0.2);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(217, 70, 239, 0.6);
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d946ef' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.form-actions {
    margin-top: 1rem;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 100px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(217, 70, 239, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(217, 70, 239, 0.6);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 3rem;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    color: #ffffff;
}

.success-message h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.success-message p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: rgba(217, 70, 239, 0.15);
    border: 1px solid rgba(217, 70, 239, 0.3);
    border-radius: 100px;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(217, 70, 239, 0.25);
    border-color: rgba(217, 70, 239, 0.5);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(217, 70, 239, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(217, 70, 239, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.contact-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a,
.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: #d946ef;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-badges .badge {
    background: rgba(217, 70, 239, 0.08);
    border: 1px solid rgba(217, 70, 239, 0.15);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Booking Footer */
.booking-footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .booking-section {
        grid-template-columns: 1fr;
        padding-top: 6rem;
    }

    .contact-sidebar {
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Admin Login Page ===== */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-card {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.1) 0%, rgba(168, 85, 247, 0.06) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(217, 70, 239, 0.25);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.admin-login-card h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.admin-login-card .login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-login-form .form-group {
    text-align: left;
}

.login-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #f44336;
    font-size: 0.85rem;
    display: none;
}

.login-error.show {
    display: block;
}

/* ===== Dashboard Styles ===== */
.dashboard-layout {
    /* display: grid;  <-- REMOVED: Conflict with fixed sidebar */
    /* grid-template-columns: 280px 1fr; */
    position: relative;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(217, 70, 239, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 40%);
}

.dashboard-sidebar {
    background: rgba(15, 10, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    z-index: 100;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d946ef 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    display: block;
    letter-spacing: -0.5px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(5px);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(217, 70, 239, 0.15) 0%, rgba(217, 70, 239, 0.05) 100%);
    border-color: rgba(217, 70, 239, 0.3);
    color: #fff;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.1);
}

.sidebar-link .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-footer {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(244, 67, 54, 0.15);
    border-color: rgba(244, 67, 54, 0.3);
    color: #ff5252;
}

/* Dashboard Main */
.dashboard-main {
    margin-left: 280px;
    padding: 3rem 4rem;
}

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

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-box .stat-icon {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.stat-box .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Bookings Table */
.bookings-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

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

.bookings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.bookings-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.bookings-table td {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.bookings-table tr td:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.bookings-table tr td:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

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

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.action-btns {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0;
    /* Hide text, maybe use icons in future or restore text */
    padding: 0;
}

.action-btn::after {
    font-size: 0.8rem;
}

.action-btn.view {
    background: rgba(217, 70, 239, 0.1);
    color: #d946ef;
    border: 1px solid rgba(217, 70, 239, 0.2);
}

.action-btn.view::after {
    content: '👁️';
}

.action-btn.delete {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.action-btn.delete::after {
    content: '🗑️';
}

@media (max-width: 1200px) {
    .dashboard-layout {
        grid-template-columns: 80px 1fr;
    }

    .dashboard-sidebar {
        width: 80px;
        padding: 2rem 1rem;
    }

    .sidebar-link span:last-child,
    .sidebar-logo,
    .sidebar-footer {
        display: none;
    }

    .sidebar-link {
        justify-content: center;
        padding: 1rem;
    }

    .dashboard-main {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        display: block;
    }

    .dashboard-sidebar {
        display: none;
        /* Add mobile toggle later */
    }

    .dashboard-main {
        margin-left: 0;
        padding: 2rem;
    }
}