/* ============================================
   Login Premium RifasConCausa
   ============================================ */

/* Fondo con degradado animado */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.login-wrapper {
    height: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #006d77, #83c5be, #edf6f9);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tarjeta elegante tipo glass */
.login-card {
    width: 100%;
    max-width: 380px;
    padding: 35px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo */
.logo-login {
    width: 90px;
    margin-bottom: 5px;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.3));
}

/* Títulos */
h4 {
    color: #073b4c;
    font-weight: 700;
}

/* Inputs bonitos */
.input-group-text {
    background: #f5f5f5;
    border-right: none;
}

input.form-control {
    background: #ffffffcc;
    font-size: 15px;
    font-weight: 500;
    border-left: none !important;
    border-radius: 0 10px 10px 0 !important;
}

/* Cambiar borde de focus */
input.form-control:focus {
    box-shadow: none !important;
    border-color: #006d77 !important;
}

/* Botón primario estilizado */
.btn-primary {
    background-color: #006d77;
    border: none;
    padding: 10px 0;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #00545d;
}

/* Mensaje de error */
#msgLogin {
    font-weight: 600;
}

/* Ajustes responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 25px;
    }
    .logo-login {
        width: 75px;
    }
}
