/* Importa una fuente similar a la del ejemplo */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --text-color-light: #333333;
    --text-color-dark:  #555555;
    --button-bg-color: rgba(255, 255, 255, 0.15);
    --button-hover-bg-color: rgba(255, 255, 255, 0.25);
    --link-color: #ffffff; /* --- CAMBIO: Enlaces ahora son blancos --- */
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background-image: url('../images/d.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.login-container {
    padding: 20px;
}


.login-box {
    /* --- CAMBIO 1: Panel principal más sólido (menos transparente) --- */
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(15px);
    
    /* --- NUEVO: Borde brillante para resaltar --- */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Borde blanco semitransparente */

    border-radius: 20px;
    
    /* --- NUEVO: Sombra más pronunciada para dar profundidad --- */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* Sombra más oscura y grande */
    
    padding:  120px 65px 90px; 
    width: 100%;
    max-width: 650px;
    text-align: center;
    color: var(--text-color-light);
    position: relative;
    /* --- AÑADIMOS UNA LÍNEA MÁS --- */
    background: rgba(0, 0, 0, 0.1); /* Fondo oscuro muy sutil para mejorar contraste */
}

/* ... (El resto de tu CSS va aquí abajo) ... */

.login-title {
    position: absolute;
    top: -0px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.90);
    border-radius: 15px;
    padding: 17px 40px;
    font-size: 35px;
    font-weight: 600;
    color: #3a3a3a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    /* --- CAMBIO 2: Fondo de los inputs más visible --- */
    background: rgba(0, 0, 0, 0.2); /* Fondo oscuro semitransparente para mayor contraste */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.input-group input {
    flex-grow: 1;
    border: none;
    outline: none;
    background-color: transparent;
    color: #ffffff; /* Texto que escribes es blanco */
    font-size: 20px;
    padding: 10px 0;
}

.input-group input::placeholder {
    /* --- CAMBIO 3: Placeholder más legible --- */
    color: #dddddd; /* Un gris muy claro para el placeholder */
}

.input-group .icon {
    /* --- CAMBIO 4: Iconos más visibles --- */
    color: #dddddd; /* Mismo color que el placeholder */
    margin-left: 15px;
    font-size: 28px;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 18px;
    /* --- CAMBIO 5: Texto de "Recuérdame" y enlaces más claros --- */
    color:  #ffffff;
}

.options label {
    display: flex;
    align-items: center;
}

.options input[type="checkbox"] {
    margin-right: 8px;
    height: 16px;
    width: 16px;
    background: transparent;
    border: 1px solid #ffffff;
    accent-color: var(--link-color);
    cursor: pointer;
}

.options a {
    color:  #ffffff; 
    text-decoration: none;
    transition: color 0.2s ease;
}

.options a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2); /* Botón con el mismo estilo de los inputs */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.login-button:hover {
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.register-text {
    margin-top: 30px;
    font-size: 14px;
    color: #ffffff;
}

.register-text a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

.register-text a:hover {
    text-decoration: underline;
}

.toggle-password {
    cursor: pointer;
}
