:root {
    --primary-color: #0d6efd;
    --bg-color: #f8f9fa;
    --text-color: #212529;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card:active {
    transform: scale(0.995);
}

.card-body {
    padding: 1.25rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Buttons & Inputs */
.btn {
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
    border: none;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3);
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    background-color: white;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    border-color: var(--primary-color);
}

/* Mobile Bottom Nav */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 20px) !important;
}

.fixed-bottom {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 1040;
}

/* Adjust main container to valid overlap with bottom nav */
body {
    padding-bottom: 90px; /* Space for bottom nav */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Login Page Specifics */
.auth-bg {
    background: linear-gradient(135deg, #0d6efd 0%, #000000 100%);
}

.auth-card {
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(33, 37, 41, 0.95);
}

/* List Groups */
.list-group-item {
    border: none;
    border-bottom: 1px solid #f1f1f1;
}
.list-group-item:last-child {
    border-bottom: none;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

/* Animation for page load */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    animation: fadeIn 0.4s ease-out;
}
