/* =========================================
   RESET Y CONFIGURACIÓN GLOBAL
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #e0e0e0;
    min-height: 100vh;
    display: block;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px); 
    padding: 20px;
}

/* =========================================
   CONTENEDORES
   ========================================= */
.login-container {
    width: 100%;
    max-width: 420px;
}

.login-box {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    border-top: 5px solid #800000; /* Color Guinda */
    text-align: center;
}

h2 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.7rem;
}

.subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.forgot-password {
    color: #ffffff; /* Tu cambio aplicado */
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #800000; /* Se vuelve guinda al pasar el mouse */
    text-decoration: underline;
}

/* =========================================
   INPUTS Y SELECTS
   ========================================= */
.input-group {
    text-align: left;
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 6px;
}

.input-group input, select {
    width: 100%;
    padding: 12px 15px;
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.input-group input:focus, select:focus {
    outline: none;
    border-color: #800000;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23800000' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    cursor: pointer;
}

/* =========================================
   SISTEMA DE OJO PROFESIONAL (SVG)
   ========================================= */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #800000; /* Guinda corporativo */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.2s ease;
}

.toggle-password:hover {
    transform: scale(1.1);
    color: #a30000;
}

.eye-icon {
    stroke: currentColor; /* El SVG toma el color del botón */
}

/* =========================================
   BOTONES Y EXTRAS
   ========================================= */
.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #800000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-login:hover {
    background-color: #a30000;
}

.divider {
    margin: 30px 0 20px;
    border-top: 1px solid #333;
    position: relative;
}

.divider span {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    padding: 0 12px;
    font-size: 0.7rem;
    color: #444;
    text-transform: uppercase;
}

.registration-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-reg {
    text-decoration: none;
    color: #888;
    font-size: 0.75rem;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 6px;
    transition: 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-reg:hover {
    border-color: #800000;
    color: #fff;
    background-color: #222;
}

/* =========================================
   RESPONSIVIDAD
   ========================================= */
@media (max-width: 480px) {
    .registration-options {
        grid-template-columns: 1fr;
    }
}
/* Color del texto "Recuérdame" */
.remember-me {
    color: #ffffff; 
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre el check y el texto */
}

/* Estilo del recuadro (checkbox) */
.remember-me input[type="checkbox"] {
    accent-color: #ffffff; /* La opción más fácil en navegadores modernos */
    width: 16px;
    height: 16px;
    cursor: pointer;
}