/* Voyageur Space - Modern Flat Design */
:root {
    --primary: #2563eb;
    --secondary: #64748b;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0891b2;
    --light: #f8fafc;
    --dark: #1e293b;
    --accent: #7c3aed;
    
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--secondary) !important;
    font-weight: 500;
    padding: var(--space-2) var(--space-4) !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: var(--space-2);
}

.dropdown-item {
    padding: var(--space-2) var(--space-4);
    border-radius: 6px;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--light);
}

/* Sidebar */
.sidebar .card {
    background: white;
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

.sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--light);
    border-radius: 8px;
}

.stat-item i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* Welcome Section */
.welcome-section {
    background: white;
    padding: var(--space-6);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cards */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.card-header {
    padding: var(--space-5) var(--space-5) var(--space-4);
    background: white !important;
    border-bottom: 1px solid #e2e8f0;
}

/* Booking Items */
.booking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5);
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s;
}

.booking-item:hover {
    background-color: var(--light);
}

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

.booking-info {
    flex: 1;
}

.route {
    font-weight: 600;
    margin-bottom: var(--space-1);
    font-size: 1.1rem;
}

.departure, .arrival {
    color: var(--dark);
}

.details {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.date {
    color: var(--secondary);
    font-size: 0.9rem;
}

.status {
    padding: var(--space-1) var(--space-2);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

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

.status-completed {
    background: #e0f2fe;
    color: var(--info);
}

.booking-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Support Links */
.support-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.support-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: background-color 0.2s;
}

.support-link:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.support-link i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* Buttons */
.btn {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: var(--space-3) var(--space-5);
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

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

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

.btn-outline-success:hover {
    background: var(--success);
    border-color: var(--success);
}

/* Responsive */
@media (max-width: 991px) {
    .sidebar {
        margin-bottom: var(--space-6);
    }
    
    .welcome-section {
        text-align: center;
    }
    
    .booking-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
    
    .booking-actions {
        align-self: stretch;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .details {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
}