/* Modern Minimalist Theme for ColtApp - 2025 Look */

/* 1. Typography and Color Palette */
:root {
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-primary: #4F46E5;
    /* Indigo */
    --bs-primary-rgb: 79, 70, 229;
    --bs-secondary: #6B7280;
    /* Cool Gray */
    --bs-secondary-rgb: 107, 114, 128;
    --bs-body-bg: #F8F9FA;
    /* Very light gray background */
    --bs-body-color: #212529;
    /* Dark, but not black text */
    --bs-border-color: #dee2e6;
    --bs-border-radius: 0.375rem;
    /* Slightly larger border radius */
    --bs-box-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --bs-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --bs-box-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--bs-font-sans-serif);
    background-color: var(--bs-body-bg);
}

/* 2. Key Component Styling */

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--bs-border-color);
}

/* Main Content & Cards */
.main-content {
    padding: 2rem !important;
}

.card {
    border: none;
    /* Remove default border, shadow is enough */
    box-shadow: var(--bs-box-shadow);
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--bs-border-color);
    font-weight: 600;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: var(--bs-border-radius);
    padding: 0.5rem 1rem;
}

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

/* Forms */
.form-control,
.form-select {
    border-radius: var(--bs-border-radius);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Driver-specific styles */
.has-bottom-nav {
    padding-bottom: 70px;
    /* Space for bottom nav on mobile */
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 27, 75, 0.95);
    /* Deep Indigo ~--premium-bg */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(167, 139, 250, 0.1);
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.2);
    z-index: 1020;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    height: 60px;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #94a3b8;
    /* Slate 400 */
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.2s;
}

.bottom-nav-link i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.bottom-nav-link.active {
    color: #c084fc;
    /* --premium-accent */
}

.bottom-nav-action-btn {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 6px rgba(168, 85, 247, 0.4);
    transform: translateY(-20px);
    border: 4px solid rgba(30, 27, 75, 1);
    /* Border to separate from nav */
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (min-width: 992px) {

    /* Hide bottom nav on desktop */
    .bottom-nav {
        display: none !important;
    }

    /* Remove bottom padding on desktop */
    .has-bottom-nav {
        padding-bottom: 0;
    }
}