:root {
    --sidebar-bg: #1e293b;
    --sidebar-active: #334155;
    --brand: #2563eb;
}

body {
    background-color: #f1f5f9;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.sidebar {
    width: 240px;
    min-height: 100vh;
    background-color: var(--sidebar-bg);
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
}

.sidebar-brand {
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar .nav-link {
    color: #cbd5e1;
    padding: 0.65rem 1.25rem;
    border-radius: 0;
    font-size: 0.925rem;
}

.sidebar .nav-link i {
    width: 20px;
    display: inline-block;
}

.sidebar .nav-link:hover {
    background-color: var(--sidebar-active);
    color: #fff;
}

.sidebar .nav-link.active {
    background-color: var(--brand);
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.content {
    min-height: 100vh;
}

.card-stat {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card-stat .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.table-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 1.25rem;
}

.badge-estado {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #2563eb);
}

.auth-card {
    max-width: 420px;
    width: 100%;
    border-radius: 14px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
