* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background: url("../images/fondo-ipr_2uG.png") no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 40, 36, 0.45); /* Capa translúcida para legibilidad */
    z-index: 1;
}

/* Brillos ambientales desactivados para mantener el fondo limpio */
.bg-glow-1, .bg-glow-2 {
    display: none !important;
}

/* Recuadro del Login COMPLETAMENTE BLANCO */
.login-container {
    background: #ffffff; /* CAMBIADO: Fondo blanco sólido */
    border: 1px solid #e2e8f0; 
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* Sombra elegante sobre el fondo verde */
    width: 100%;
    max-width: 440px;
    padding: 50px 40px;
    text-align: center;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.logo-img {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 123, 109, 0.15));
    transition: transform 0.3s ease;
}

.title {
    color: #1e293b; /* CAMBIADO: Texto oscuro para resaltar sobre el recuadro blanco */
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.subtitle {
    color: #007b6d; /* Subtítulo con tu color institucional */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-label {
    display: block;
    color: #64748b; /* CAMBIADO: Gris oscuro para etiquetas legibles */
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: #f8fafc; /* Gris muy claro para el interior de los inputs */
    border: 1px solid #e2e8f0; 
    border-radius: 12px;
    color: #0f172a; 
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: #007b6d; /* Borde de enfoque con tu color institucional */
    box-shadow: 0 0 0 4px rgba(0, 123, 109, 0.15);
}

.error-message {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
    text-align: left;
}

.success-message {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
    color: #166534;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
    text-align: left;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #007b6d 0%, #0b2b26 100%); /* Botón corporativo en degradé */
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 123, 109, 0.2);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 15px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #008f7e