h2 {
    color: white
}
p {
    color: white
}
body, html {
    background: url('../img/wabi_portada.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
}
.card-container.card {
    width: 350px;
    padding: 40px 40px;
}
.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

/* Card principal */
.card-container-login {
    background: rgba(255, 255, 255, 0.08); /* solo 12% blanco — casi invisible */
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    margin: 80px auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25); /* sombra más suave */
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; /* texto blanco para mejor contraste */
}

.profile-img-card {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: block;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

/* Botón */
.btn-signin {
    font-size: 16px;
    font-weight: bold;
}

/* Footer de la tarjeta */
.card-footer {
    background: transparent;
    border: none;
    margin-top: 15px;
    text-align: center;
}

/* Enlace del footer */
.card-footer a {
    color: rgba(255, 255, 255, 0.9); /* blanco tenue */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Efecto hover (resalta suavemente al pasar el mouse) */
.card-footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}
/* Input */
.form-control {
    margin-bottom: 15px;
    border-radius: 8px;
}

.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}
.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.form-signin #inputEmail, .form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}
.form-signin input[type=email], .form-signin input[type=password], .form-signin input[type=text], .form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.forgot-password {
    color: rgb(104, 145, 162);
}
.forgot-password:hover, .forgot-password:active, .forgot-password:focus {
    color: rgb(12, 97, 33);
}

/* === Diseño responsive para móviles y tablets === */

/* Pantallas pequeñas (hasta 480px de ancho, típico smartphone) */
@media (max-width: 480px) {
    body, html {
        background-size: cover;
        background-attachment: scroll; /* mejora rendimiento móvil */
    }

    .card-container-login {
        max-width: 90%;      /* ocupa casi todo el ancho del móvil */
        padding: 25px 20px;  /* menos padding para pantallas pequeñas */
        margin: 60px auto;   /* más espacio superior */
        border-radius: 15px;
    }

    .profile-img-card {
        width: 80px;
        height: 80px;
    }

    .btn-signin {
        height: 44px;
        font-size: 15px;
    }

    .form-control {
        font-size: 15px;
        height: 42px;
    }

    .card-footer {
        font-size: 14px;
    }
}

/* Tablets (481px a 768px de ancho) */
@media (max-width: 768px) {
    .card-container-login {
        max-width: 80%;
        padding: 35px 25px;
    }

    .form-control {
        font-size: 16px;
    }
}

/* Pantallas medianas (por ejemplo laptops pequeñas) */
@media (max-width: 1024px) {
    .card-container-login {
        max-width: 70%;
    }
}
