:root {
    --color-real: #198754;
    --color-previsto: #6c757d;
}

body {
    background-color: #f4f6f9;
    min-height: 100vh;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.stat-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.movimiento-real {
    border-left: 4px solid var(--color-real);
    background-color: #fff;
}

.movimiento-previsto {
    border-left: 4px solid var(--color-previsto);
    background-color: #f8f9fa;
    font-style: italic;
    opacity: 0.85;
}

.movimiento-previsto .badge-previsto {
    background-color: #adb5bd;
}

.table-movimientos tbody tr.movimiento-real:hover {
    background-color: #e8f5e9;
}

.table-movimientos tbody tr.movimiento-previsto:hover {
    background-color: #e9ecef;
}

.table-movimientos tbody tr.movimiento-separador-mes td {
    padding: 0.4rem 1rem;
    background-color: #dce8f8;
    border-top: 2px solid #0d6efd;
    border-bottom: 1px solid #b6d4fe;
    font-weight: 500;
    font-style: italic;
    font-size: 0.85rem;
    color: #084298;
    letter-spacing: 0.02em;
}

.table-movimientos tbody tr.movimiento-separador-mes:hover td {
    background-color: #dce8f8;
}

.importe-ingreso {
    color: var(--color-real);
    font-weight: 600;
}

.importe-gasto {
    color: #dc3545;
    font-weight: 600;
}

.chart-container {
    position: relative;
    height: 400px;
}

.badge-tecnologia {
    background-color: #0d6efd;
}

.badge-arquitectura {
    background-color: #6f42c1;
}

.card-header-custom {
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    color: white;
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

.page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}
