body { font-size: 0.9rem; }

.sidebar {
    min-height: calc(100vh - 56px);
    background: #1e293b;
}

.sidebar .nav-link {
    color: #94a3b8;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    margin: 2px 0;
    font-size: 0.875rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: #334155;
}

.sidebar .nav-link i {
    width: 18px;
    margin-right: 8px;
}

.sidebar-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.main-content {
    background: #f8fafc;
    min-height: calc(100vh - 56px);
}

.navbar-brand { font-weight: 700; letter-spacing: -0.02em; }

.metric-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
    transition: transform .15s;
}

.metric-card:hover { transform: translateY(-2px); }

.metric-card .metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.metric-card .metric-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge { font-size: 0.72rem; font-weight: 500; }

.table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; }

.flash-message { border-radius: 8px; }

.notification-bell { position: relative; }
.notification-bell .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.6rem;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
}

.status-badge { border-radius: 20px; padding: 3px 10px; }

.import-row-error { background: #fff5f5 !important; }
.import-row-edited { background: #f0fdf4 !important; }
.import-row-skipped { opacity: 0.45; }

.trip-code { font-family: monospace; font-weight: 700; font-size: 1.05rem; }

.section-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    margin-bottom: 1.25rem;
}

.section-card .card-header {
    background: #f1f5f9;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    font-size: 0.875rem;
}
