/* ================= ALAP STÍLUSOK ================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --bg: #0d0f14;
    --surface: #151820;
    --surface2: #1c2030;
    --border: rgba(255, 255, 255, 0.10);
    --accent: #f0b429;
    --text: #e2e8f0;
    --slate: #94a3b8;
    --text-muted: #64748b;
    --green: #22c55e;
    --red: #ef4444;
    --orange: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #0d0f14 0%, #1a1d2e 100%);
    color: #e2e8f0;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ================= FEJLÉC ================= */
h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #f0b429;
    text-shadow: 0 2px 10px rgba(240, 180, 41, 0.3);
}

/* ================= FELHASZNÁLÓ PANEL ================= */
.user-panel {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #5865F2;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.username {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-admin {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.badge-driver {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.badge-customer {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ================= GOMBOK ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752c4, #3c45b0);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.btn-logout {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4752c4, #3c45b0);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

.btn-info:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* ================= FŐ PANEL ================= */
#guest-panel {
    text-align: center;
    margin-bottom: 2rem;
}

#guest-panel .btn-discord {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.actions .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* ================= ÜZENETEK ================= */
.message {
    position: fixed;
    bottom: 20px;
    top: auto;
    right: 20px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 360px;
    min-width: 260px;
    width: auto;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    font-weight: 600;
    text-align: left;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: translateX(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.25s ease;
    min-height: auto;
}

.message.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.message-success {
    background: rgba(34, 197, 94, 0.16);
    color: #ecfccb;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.message-error {
    background: rgba(239, 68, 68, 0.16);
    color: #fee2e2;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.message-info {
    background: rgba(88, 101, 242, 0.16);
    color: #dbeafe;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 1rem;
    }

    .user-header {
        flex-direction: column;
        text-align: center;
    }

    .actions {
        grid-template-columns: 1fr;
    }

    .btn-discord {
        width: 100%;
    }
}

/* ================= ANIMÁCIÓK ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-panel,
#guest-panel,
#main-panel {
    animation: fadeIn 0.5s ease;
}

/* ================= NAVIGÁCIÓ ================= */
.main-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: rgba(22, 33, 62, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.nav-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--slate);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: rgba(88, 101, 242, 0.15);
    color: var(--text);
}

.nav-btn.active {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

/* ================= FELHASZNÁLÓ PANEL (COMPACT) ================= */
.user-panel-compact {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(22, 33, 62, 0.9);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    z-index: 100;
    max-width: 300px;
}

.user-header-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #5865F2;
}

.user-details-compact {
    flex: 1;
    min-width: 0;
}

.username-small {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badges-small {
    display: flex;
    gap: 0.25rem;
    margin-top: 2px;
    flex-wrap: wrap;
}

.badges-small .badge {
    padding: 1px 5px;
    font-size: 0.6rem;
    border-radius: 10px;
}

.user-actions-compact {
    display: flex;
    gap: 0.25rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
}

/* ================= SOFŐRÖK LISTÁJA ================= */
.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.driver-card {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.driver-card:hover {
    transform: translateY(-4px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.2);
}

.driver-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.driver-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #5865F2;
    object-fit: cover;
}

.driver-info {
    flex: 1;
}

.driver-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.driver-username {
    font-size: 0.8rem;
    color: var(--slate);
    margin: 0.25rem 0 0 0;
}

.driver-card-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.car-preview-container {
    position: relative;
    margin: 10px 0;
}

.driver-car-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.driver-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.stat-icon {
    font-size: 1rem;
}

.driver-stat .stat-value {
    font-weight: 700;
    color: var(--text);
}

.driver-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.driver-status {
    margin-top: 0.5rem;
}

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--slate);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

/* Driver Modal */
.driver-modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.driver-modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #5865F2;
}

.driver-modal-info h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #fff;
}

.driver-modal-username {
    color: var(--slate);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.driver-modal-badges {
    margin-top: 0.5rem;
}

.driver-modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.driver-modal-reviews {
    margin-top: 1.5rem;
}

.driver-modal-reviews h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: 700;
    color: var(--text);
}

.review-rating {
    font-size: 0.9rem;
}

.review-comment {
    color: var(--slate);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.no-reviews {
    color: var(--text-muted);
    text-align: center;
    padding: 1rem;
}

/* Review Form */
.review-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.review-form h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.star {
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.star:hover {
    opacity: 1;
}

.login-prompt {
    text-align: center;
    padding: 1rem;
    color: var(--slate);
}

.login-prompt a {
    color: #5865F2;
    text-decoration: none;
    font-weight: 600;
}

.login-prompt a:hover {
    text-decoration: underline;
}

/* ================= PROFIL KÁRTYA ================= */
.profile-card {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: var(--surface);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-item .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-item .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-value.available {
    color: var(--green);
}

.stat-value.unavailable {
    color: var(--red);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.car-image-position-editor {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 1fr);
    gap: 1rem;
    align-items: start;
}

.car-image-position-preview {
    position: relative;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid var(--border);
}

.car-image-position-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.car-image-position-preview.has-image img {
    display: block;
}

.car-image-position-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.car-image-position-preview.has-image .car-image-position-empty {
    display: none;
}

.car-image-position-controls {
    display: grid;
    gap: 0.9rem;
}

.position-control {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.position-control-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
    color: var(--text);
    font-size: 0.85rem;
}

.position-control input[type="range"] {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

/* ================= TELEFON + MÁSOLÁS ================= */
.driver-phone {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.driver-phone .phone-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--text);
    font-size: 0.9rem;
    word-break: break-word;
}

.btn-copy {
    background: rgba(88, 101, 242, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.btn-copy:hover {
    background: rgba(88, 101, 242, 0.25);
    transform: translateY(-1px);
}

/* Számla űrlap */
.invoice-form {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.invoice-form h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #5865F2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.15);
}

.form-group small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ================= ADMIN FELÜLET ================= */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #1c2030, #222840);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-invoices {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.admin-invoices h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.invoices-table-wrapper {
    overflow-x: auto;
}

.invoices-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.invoices-table th,
.invoices-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.invoices-table th {
    background: var(--surface);
    font-weight: 700;
    color: var(--slate);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invoices-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.invoices-table .amount {
    font-weight: 700;
    color: var(--green);
    font-family: 'JetBrains Mono', monospace;
}

.invoices-table .tax {
    color: var(--red);
    font-family: 'JetBrains Mono', monospace;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-cell-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.invoices-table .actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Badge stílusok */
.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-approved {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-paid {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

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

.analytics-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.analytics-select {
    min-width: 130px;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
}

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

.analytics-stat {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

.analytics-stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.analytics-stat strong {
    color: var(--text);
    font-size: 1.35rem;
}

.chart-shell {
    position: relative;
    min-height: 300px;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--border);
}

.chart-shell canvas {
    width: 100% !important;
    height: 280px !important;
}

/* ================= EGYÉB ================= */
.no-data {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.tab-section {
    animation: fadeIn 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .user-panel-compact {
        position: static;
        max-width: none;
        margin-bottom: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .nav-btn {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .drivers-grid {
        grid-template-columns: 1fr;
    }

    .driver-modal-stats {
        grid-template-columns: 1fr;
    }

    .invoices-table {
        font-size: 0.8rem;
    }

    .invoices-table th,
    .invoices-table td {
        padding: 0.6rem 0.5rem;
    }

    .profile-stats {
        grid-template-columns: 1fr 1fr;
    }

    .car-image-position-editor {
        grid-template-columns: 1fr;
    }

    .analytics-header {
        flex-direction: column;
    }
}
