/**
 * ZeroAI Client Portal - Complete Consistent Stylesheet
 * Maintaining design system from main site
 */

/* CSS Variables - Consistent with main site */
:root {
    --primary: #00ff88;
    --secondary: #0080ff;
    --dark: #0a0e27;
    --darker: #050714;
    --light: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff453a;
    --info: #0080ff;
}

/* Reset & Base - Same as main site */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Status Badge Styles - Updated for your EXACT ENUM values */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

/* Booking Status Styles - YOUR EXACT status ENUM */
.status-received { 
    background: rgba(255, 170, 0, 0.2); 
    color: #b45309; 
    border-color: rgba(255, 170, 0, 0.3);
}

.status-in-progress, .status-inprogress { 
    background: rgba(59, 130, 246, 0.2); 
    color: #1d4ed8; 
    border-color: rgba(59, 130, 246, 0.3);
}

.status-completed { 
    background: rgba(16, 185, 129, 0.2); 
    color: #065f46; 
    border-color: rgba(16, 185, 129, 0.3);
}

.status-cancelled { 
    background: rgba(156, 163, 175, 0.2); 
    color: #374151; 
    border-color: rgba(156, 163, 175, 0.3);
}

/* Payment Status Styles - YOUR EXACT payment_status ENUM */
.status-pending { 
    background: rgba(251, 191, 36, 0.2); 
    color: #92400e; 
    border-color: rgba(251, 191, 36, 0.3);
}

.status-paid { 
    background: rgba(16, 185, 129, 0.2); 
    color: #065f46; 
    border-color: rgba(16, 185, 129, 0.3);
}

.status-failed { 
    background: rgba(239, 68, 68, 0.2); 
    color: #dc2626; 
    border-color: rgba(239, 68, 68, 0.3);
}

.status-refunded { 
    background: rgba(156, 163, 175, 0.2); 
    color: #374151; 
    border-color: rgba(156, 163, 175, 0.3);
}

/* Priority Status Styles - YOUR EXACT priority ENUM */
.priority-low { 
    background: rgba(156, 163, 175, 0.2); 
    color: #6b7280; 
    border-color: rgba(156, 163, 175, 0.3);
}

.priority-normal { 
    background: rgba(59, 130, 246, 0.2); 
    color: #2563eb; 
    border-color: rgba(59, 130, 246, 0.3);
}

.priority-high { 
    background: rgba(251, 191, 36, 0.2); 
    color: #d97706; 
    border-color: rgba(251, 191, 36, 0.3);
}

.priority-urgent { 
    background: rgba(239, 68, 68, 0.2); 
    color: #dc2626; 
    border-color: rgba(239, 68, 68, 0.3);
}

/* Category Badge Styles - YOUR EXACT service_type ENUM */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Service Type Specific Colors */
.category-factory-automation, .category-factory_automation { 
    background: rgba(239, 68, 68, 0.1); 
    color: #dc2626; 
    border-color: rgba(239, 68, 68, 0.2);
}

.category-robotics-lab, .category-robotics_lab { 
    background: rgba(59, 130, 246, 0.1); 
    color: #2563eb; 
    border-color: rgba(59, 130, 246, 0.2);
}

.category-digital-transformation, .category-digital_transformation { 
    background: rgba(16, 185, 129, 0.1); 
    color: #059669; 
    border-color: rgba(16, 185, 129, 0.2);
}

.category-industrial-training, .category-industrial_training { 
    background: rgba(251, 191, 36, 0.1); 
    color: #d97706; 
    border-color: rgba(251, 191, 36, 0.2);
}

.category-maintenance-support, .category-maintenance_support { 
    background: rgba(139, 92, 246, 0.1); 
    color: #7c3aed; 
    border-color: rgba(139, 92, 246, 0.2);
}

.category-robotics-education, .category-robotics_education { 
    background: rgba(236, 72, 153, 0.1); 
    color: #be185d; 
    border-color: rgba(236, 72, 153, 0.2);
}

/* Add these new status classes for your database statuses */
.status-received { 
    background: rgba(255, 170, 0, 0.2); 
    color: var(--warning); 
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.status-inprogress, .status-in-progress { 
    background: rgba(0, 255, 136, 0.2); 
    color: var(--success); 
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.status-onhold, .status-on-hold { 
    background: rgba(255, 69, 58, 0.2); 
    color: var(--danger); 
    border: 1px solid rgba(255, 69, 58, 0.3);
}

.status-completed { 
    background: rgba(0, 255, 136, 0.3); 
    color: var(--success); 
    border: 1px solid rgba(0, 255, 136, 0.4);
}

.status-cancelled { 
    background: rgba(128, 128, 128, 0.2); 
    color: rgba(255, 255, 255, 0.6); 
    border: 1px solid rgba(128, 128, 128, 0.3);
}


/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.spinner {
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Particle Background - Consistent */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e27 0%, #050714 50%, #0a0e27 100%);
}

/* Navigation - Consistent with main site */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(5, 7, 20, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link i {
    margin-right: 0.5rem;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--darker);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    color: var(--light);
    text-decoration: none;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: var(--glass);
    color: var(--primary);
}

.mobile-nav-link i {
    margin-right: 0.5rem;
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
    padding-top: 80px;
}

.page-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Dashboard Specific */
.dashboard-header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    margin-bottom: 2rem;
}

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.welcome-text h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-text p {
    color: rgba(255, 255, 255, 0.7);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Service Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 255, 136, 0.3);
    border-color: var(--primary);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-category {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--success);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.service-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Booking Table */
.bookings-table {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    margin: 2rem 0;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(0, 255, 136, 0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

td {
    color: var(--light);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.booking-id {
    font-family: monospace;
    font-weight: bold;
    color: var(--primary);
}

.category-badge {
    background: var(--glass);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--primary);
}

.amount {
    font-weight: bold;
    color: var(--success);
}

.actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pending { background: rgba(255, 170, 0, 0.2); color: var(--warning); }
.status-confirmed { background: rgba(0, 128, 255, 0.2); color: var(--info); }
.status-in_progress, .status-in-progress { background: rgba(0, 255, 136, 0.2); color: var(--success); }
.status-completed { background: rgba(0, 255, 136, 0.3); color: var(--success); }
.status-cancelled { background: rgba(255, 69, 58, 0.2); color: var(--danger); }
.status-active { background: rgba(0, 255, 136, 0.2); color: var(--success); }

/* Forms - Consistent with main site */
.form-container {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 600px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

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

.form-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.form-input:disabled {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

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

.form-help {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-input[type="date"] {
    color: var(--light);
}

.form-input.valid {
    border-color: var(--success);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.form-input.invalid {
    border-color: var(--danger);
    box-shadow: 0 0 10px rgba(255, 69, 58, 0.2);
}

.validation-message {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
}

.validation-message.error {
    color: var(--danger);
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.3);
}

/* Buttons - Consistent with main site */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--glass-border);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #ff6b6b);
    color: var(--light);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
}

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

/* Alerts - Consistent with main site */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

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

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.alert-danger {
    background: rgba(255, 69, 58, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 69, 58, 0.3);
}

.alert-warning {
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.alert-info {
    background: rgba(0, 128, 255, 0.1);
    color: var(--info);
    border: 1px solid rgba(0, 128, 255, 0.3);
}

/* Glass Effects */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 255, 136, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--light);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--glass);
    color: var(--primary);
}

.modal-body {
    padding: 2rem;
    color: var(--light);
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Payment Specific */
.payment-container {
    max-width: 1200px;
    margin: 0 auto;
}

.payment-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.payment-summary {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.payment-summary h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
}

.summary-item.total {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.payment-form-container {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
}

.payment-form-container h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.payment-options {
    margin-bottom: 2rem;
}

.payment-option {
    background: var(--glass);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.payment-option.active,
.payment-option:hover {
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-content i {
    font-size: 1.5rem;
    color: var(--primary);
}

.option-content strong {
    color: var(--light);
    display: block;
}

.option-content small {
    color: rgba(255, 255, 255, 0.7);
}

.payment-details {
    margin-bottom: 2rem;
}

.client-info {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.client-info h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.client-info p {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.payment-status-pending {
    text-align: center;
    padding: 3rem;
    color: var(--light);
}

.payment-status-pending p {
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Profile Specific */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.profile-form-container {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.info-item .label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.info-item .value {
    color: var(--light);
    font-weight: 600;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.security-content strong {
    color: var(--light);
    display: block;
}

.security-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Booking Details */
.booking-details {
    margin: 2rem 0;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.details-header h2 {
    color: var(--light);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.requirements-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.requirements-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    white-space: pre-wrap;
}

.booking-actions h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.booking-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    justify-content: center;
}

/* Booking Terms */
.booking-terms {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.booking-terms strong {
    color: var(--primary);
}

.booking-terms ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.booking-terms li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Filters */
.bookings-filters {
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* Headers */
.bookings-header,
.services-header,
.booking-header,
.payment-header,
.profile-header {
    margin-bottom: 2rem;
}

.bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.services-header,
.booking-header,
.payment-header,
.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bookings-header h1,
.services-header h1,
.booking-header h1,
.payment-header h1,
.profile-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-header p,
.booking-header p,
.payment-header p,
.profile-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.form-footer p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--secondary);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
}

.empty-card h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Service Selection */
.service-selection {
    text-align: center;
    padding: 4rem 2rem;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

/* Footer - Consistent with main site */
footer {
    padding: 4rem 2rem 2rem;
    background: var(--darker);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-links {
    margin: 2rem 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.client-footer {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .page-section {
        padding: 2rem 1rem;
    }
    
    .dashboard-welcome {
        text-align: center;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .form-container {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .payment-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .payment-summary {
        position: static;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    nav, footer, .mobile-nav, .loader {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
