/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #000; /* Fondo negro sólido */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background: rgba(255, 255, 255, 0.05); /* Translúcido blanco sobre negro */
    color: #fff;
    border:  1px solid white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
    width: 380px;
    text-align: center;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.logo {
    width: 220px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.login-form h2 {
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-size: 24px;
    color: #fff;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #999999;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus::placeholder {
    color: #fff;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
      color: #aaa; /* Ojito negro */

    font-size: 18px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #000; /* Solo un gris claro al pasar el mouse */
}

button {
    width: 100%;
    padding: 14px;
    background: #fff; /* Botón blanco */
    color: #000;       /* Texto negro */
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #f2f2f2; /* Gris claro al pasar el mouse */
    transform: translateY(-2px);
}

.error {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Responsivo para celular */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 30px 20px;
        border-radius: 16px;
    }

    .input-group input {
        padding: 12px 40px 12px 12px;
        font-size: 14px;
    }

    button {
        padding: 12px;
        font-size: 14px;
    }

    .logo {
        margin-bottom: 15px;
    }

    .login-form h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}
