:root {
    --sidebar-width: 220px;
}

body {
    background: #0a0a0f;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    min-height: calc(100vh - 56px);
    background: #111118;
    border-right: 1px solid #222;
}

.sidebar .btn-dark {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.sidebar .btn-dark:hover {
    background: #1a1a2e;
}
.sidebar .btn-dark.active {
    background: #0d6efd;
    color: white;
}

.main-content {
    max-width: 1400px;
}

.card {
    background: #14141f;
    border: 1px solid #222;
    border-radius: 12px;
}
.card-header {
    background: #1a1a2e;
    border-bottom: 1px solid #222;
    border-radius: 12px 12px 0 0 !important;
}

.card-dashboard {
    background: linear-gradient(135deg, #14141f 0%, #1a1a2e 100%);
    border: 1px solid #333;
}
.card-dashboard .card-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.stat-label {
    font-size: 0.8rem;
    color: #888;
}

.badge-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.table > :not(caption) > * > * {
    background: transparent;
    border-bottom-color: #222;
    color: #ddd;
    vertical-align: middle;
}
.table thead th {
    color: #888;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #333;
}

.form-control, .form-select {
    background: #1a1a2e;
    border: 1px solid #333;
    color: #fff;
}
.form-control:focus, .form-select:focus {
    background: #1a1a2e;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
.form-control::placeholder {
    color: #555;
}

.modal-content {
    background: #14141f;
    border: 1px solid #333;
}
.modal-header {
    border-bottom: 1px solid #222;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 1.4rem;
    }
    .table {
        font-size: 0.85rem;
    }
}

a {
    color: #6ea8fe;
}
a:hover {
    color: #9ec5fe;
}

.fuvar-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.fuvar-detail-item {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 10px 14px;
}
.fuvar-detail-item label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    display: block;
    margin-bottom: 2px;
}
.fuvar-detail-item .value {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}
