/* Base de formulario y layout - Invierno */
.login-container {
    max-width: 400px;
    margin: auto;
    padding: 30px;
    background-color: #F9FBFE; /* fondo blanco azulado muy claro */
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(70, 110, 140, 0.25); /* sombra fría azulada suave */
    border: 1px solid #A9C6D9; /* borde azul grisáceo claro */
}
.register-container {
    max-width: 600px;
    margin: 40px auto;
    background-color: #F2F7FF; /* fondo azul muy claro */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(70, 110, 140, 0.15); /* sombra fría azulada */
    border: 1px solid #A9C6D9; /* borde azul grisáceo */
}


.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

td {
    text-align: center;
}

/* Cards */
.card {
    background: linear-gradient(135deg, #E0F0F7, #A8D0E6); /* tonos fríos azul claro */
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(100, 140, 160, 0.35);
    padding: 20px;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

/* Textos y etiquetas */
label.form-label {
    font-weight: 600;
    color: #1B3A57; /* azul oscuro frío */
}

/* Inputs */
input.form-control, select.form-select {
    border: 2px solid #7AA9C9;
    border-radius: 8px;
    background-color: #F0F7FA;
    color: #2B4E72;
    font-weight: 500;
    transition: border-color 0.3s ease;
}

input.form-control:focus, select.form-select:focus {
    border-color: #3E6AA8;
    box-shadow: 0 0 8px #3E6AA8AA;
    background-color: #E6F0FA;
    outline: none;
    color: #2B4E72;
}

/* Botones */
.btn-success {
    background: linear-gradient(45deg, #4A90E2, #7BB1F9);
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.5);
    color: white;
    transition: background 0.4s ease;
    cursor: pointer;
}

.btn-success:hover {
    background: linear-gradient(45deg, #7BB1F9, #4A90E2);
    box-shadow: 0 8px 25px rgba(123, 177, 249, 0.7);
    color: white;
}

/* Fondo invierno */
body {
    background-color: #E6F0FA; /* fondo frío claro */
    background-image: url('/static/img/nieve_suave.png'); /* por ejemplo, nieve cayendo */
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 250px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2B4E72;
    min-height: 100vh;
}

.btn-icon i {
    color: #1B3A57;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.row {
    background-color: rgba(224, 240, 247, 0.7);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(27, 58, 87, 0.2);
}

a {
    color: #1B3A57;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #3E6AA8;
    text-decoration: underline;
}

select, .form-select {
    background-color: #EAF4FA;
    border: 2px solid #7AA9C9;
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    color: #2B4E72;
    transition: all 0.3s ease;
}

select:focus {
    border-color: #3E6AA8;
    box-shadow: 0 0 5px rgba(62, 106, 168, 0.5);
}

.sidebar {
    background: linear-gradient(to bottom, #B0C9D8, #769DC1);
    color: #1B3A57;
    border-right: 3px solid #5C7F9A;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar h5 {
    color: #2B4E72;
    font-weight: bold;
    font-family: 'Georgia', serif;
}

.sidebar .nav-link {
    color: #2B4E72;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #3E6AA8;
    color: white;
}

/* Botones claros */
.btn-light {
    background-color: #D9E7F9;
    color: #2B4E72;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.btn-light:hover {
    background-color: #B7D0F0;
    color: #1B3A57;
}

/* Encabezados */
h2, .card-title {
    color: #1B3A57;
}

    .cat-verde_oscuro {
        background-color: #006400;
        color: white;
    }

    .cat-rosa {
        background-color: #FFC0CB;
        color: white;
    }

    .cat-amarillo {
        background-color: #FFFF00;
        color: black;
    }

    .cat-verde_claro {
        background-color: #90EE90;
        color: black;
    }

    .cat-naranjo {
        background-color: #FFA500;
        color: black;
    }

    .cat-azul {
        background-color: #1E90FF;
        color: white;
    }

    .cat-rojo {
        background-color: #FF0000;
        color: white;
    }

    .barra-verde_oscuro {
        background-color: #006400;
    }

    .barra-rosa {
        background-color: #FFC0CB;
    }

    .barra-amarillo {
        background-color: #FFFF00;
    }

    .barra-verde_claro {
        background-color: #90EE90;
    }

    .barra-naranjo {
        background-color: #FFA500;
    }

    .barra-azul {
        background-color: #1E90FF;
    }

    .barra-rojo {
        background-color: #FF0000;
    }

    .cat-default {
        background-color: #ccc;
        color: black;
    }