/* Conference Planner - Limo.Express Style */
/* Dark professional theme with purple/gold accents */

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #c29d5f;
    --secondary-dark: #a88347;
    --dark: #1c1c1c;
    --dark-lighter: #2d2d2d;
    --dark-card: #343434;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #333333;
    --border-color: #444444;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
    min-height: 100vh;
    color: var(--text-light);
    line-height: 1.6;
}

body.light-theme {
    background: var(--bg-light);
    color: var(--text-dark);
}

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

a:hover {
    color: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(28, 28, 28, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}

.brand-name .text-primary {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
}

/* Auth Container */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    color: var(--text-light);
}

.auth-box .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--dark-lighter);
    color: var(--text-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-block {
    display: block;
    width: 100%;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--dark);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: var(--dark-lighter);
    color: var(--text-light);
    border-left-color: var(--primary);
}

.sidebar-nav li a svg {
    width: 20px;
    height: 20px;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.page-header h1 {
    font-size: 28px;
    color: var(--text-light);
}

/* Cards */
.card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2,
.card-header h3 {
    font-size: 18px;
    color: var(--text-light);
}

.card-accent {
    border-left: 4px solid var(--primary);
}

.card-accent.success {
    border-left-color: var(--success);
}

.card-accent.warning {
    border-left-color: var(--warning);
}

.card-accent.danger {
    border-left-color: var(--danger);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

.stat-card.success { border-left-color: var(--success); }
.stat-card.warning { border-left-color: var(--warning); }
.stat-card.danger { border-left-color: var(--danger); }
.stat-card.info { border-left-color: var(--info); }

/* Tables */
.table-responsive {
    overflow-x: auto;
}

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

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--dark-lighter);
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.data-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pending { background: #fff3cd; color: #856404; }
.badge-attending { background: #d4edda; color: #155724; }
.badge-not_attending { background: #f8d7da; color: #721c24; }
.badge-not_notified { background: #6c757d; color: white; }
.badge-tentative { background: #e7f3ff; color: #004085; }
.badge-draft { background: #6c757d; color: white; }
.badge-open { background: var(--success); color: white; }
.badge-closed { background: var(--danger); color: white; }
.badge-completed { background: var(--info); color: white; }

/* Program Schedule */
.schedule-day {
    margin-bottom: 30px;
}

.schedule-day h3 {
    background: var(--dark-lighter);
    padding: 15px 20px;
    border-radius: var(--radius) var(--radius) 0 0;
    border-left: 4px solid var(--secondary);
    margin-bottom: 0;
}

.schedule-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-top: none;
    background: var(--dark-card);
    transition: all 0.3s ease;
}

.schedule-item:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
}

.schedule-item:hover {
    background: rgba(102, 126, 234, 0.05);
}

.schedule-time {
    min-width: 100px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.schedule-content {
    flex: 1;
}

.schedule-content h4 {
    margin-bottom: 5px;
    color: var(--text-light);
}

.schedule-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.schedule-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.session-type {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.type-keynote { background: var(--secondary); color: white; }
.type-session { background: var(--primary); color: white; }
.type-workshop { background: var(--info); color: white; }
.type-break { background: #6c757d; color: white; }
.type-meal { background: #fd7e14; color: white; }
.type-networking { background: #20c997; color: white; }
.type-activity { background: #e83e8c; color: white; }
.type-dinner { background: #6f42c1; color: white; }

/* RSVP Toggle */
.rsvp-toggle {
    display: flex;
    gap: 10px;
}

.rsvp-toggle .btn {
    padding: 6px 12px;
    font-size: 12px;
}

.rsvp-toggle .btn.active {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Flight Details Form */
.flight-card {
    background: var(--dark-lighter);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--info);
}

.flight-card h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Activity/Dinner Cards */
.option-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.option-card.opted-in {
    border-color: var(--success);
    background: rgba(40, 167, 69, 0.1);
}

.option-card.opted-out {
    opacity: 0.6;
}

.option-info h4 {
    margin-bottom: 8px;
    color: var(--text-light);
}

.option-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}

.option-details {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--success);
    color: #d4edda;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning);
    color: #fff3cd;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--danger);
    color: #f8d7da;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    border-color: var(--info);
    color: #d1ecf1;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-light);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

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

.modal-header h3 {
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .auth-box {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .option-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.hidden { display: none; }