:root {
    --siwca-primario: #7A1F3D;
    --siwca-secundario: #5B3E8F;
}

body {
    background-color: #f4f5f7;
}

.siwca-navbar {
    background-color: var(--siwca-primario);
}

.siwca-sidebar {
    background-color: #fff;
    min-height: calc(100vh - 56px);
    border-right: 1px solid #e9ecef;
}

.siwca-sidebar .nav-link {
    color: #495057;
    border-radius: .375rem;
    padding: .55rem .75rem;
}

.siwca-sidebar .nav-link:hover,
.siwca-sidebar .nav-link.active {
    background-color: #f1eaf0;
    color: var(--siwca-primario);
}

.siwca-card-stat {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.siwca-card-stat .valor {
    font-size: 2rem;
    font-weight: 700;
    color: var(--siwca-primario);
}

.btn-siwca {
    background-color: var(--siwca-primario);
    border-color: var(--siwca-primario);
    color: #fff;
}

.btn-siwca:hover {
    background-color: #611832;
    color: #fff;
}

.text-siwca {
    color: var(--siwca-primario);
}

.bg-siwca {
    background-color: var(--siwca-primario) !important;
}

.border-siwca {
    border-color: var(--siwca-primario) !important;
}

/* Tablas dentro de las cards del panel: más aire, menos amontonado */
.siwca-card-stat .table td,
.siwca-card-stat .table th {
    padding: .85rem 1.1rem;
    vertical-align: middle;
}

.siwca-card-stat .table thead th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6c757d;
    border-bottom-width: 1px;
}

.siwca-card-stat .table tbody tr {
    border-bottom: 1px solid #f1f1f4;
}

.siwca-card-stat .table tbody tr:last-child {
    border-bottom: none;
}

.siwca-card-stat .table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.siwca-card-stat .table tbody tr:hover {
    background-color: #f6f0f2;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--siwca-primario), var(--siwca-secundario));
}

.login-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
