﻿/* ===============================
   RESET BÁSICO
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ===============================
   FONDO
================================ */
body {
    min-height: 100vh;
    background: linear-gradient( rgba(245, 247, 252, 0.5), rgba(245, 247, 252, 0.5) ), url("../img/recinto.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===============================
   CONTENEDOR PRINCIPAL
================================ */
.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* ===============================
   TARJETA LOGIN
================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-card {
    width: 380px;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    text-align: center;
    backdrop-filter: blur(6px);
    animation: fadeUp 0.6s ease-out;
}

    /* ===============================
   LOGO
================================ */
    .login-card .logo {
        width: 90px;
        margin-bottom: 15px;
    }

    /* ===============================
   TÍTULO
================================ */
    .login-card h2 {
        font-size: 20px;
        font-weight: 600;
        color: #2f3542;
        margin-bottom: 25px;
    }

    /* ===============================
   FORMULARIO
================================ */
    .login-card form {
        text-align: left;
    }

    /* ===============================
   LABELS
================================ */
    .login-card label {
        font-size: 13px;
        font-weight: 600;
        color: #57606f;
        margin-bottom: 6px;
        display: block;
    }

    /* ===============================
   INPUTS
================================ */
    .login-card input {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid #dfe4ea;
        background-color: #f6f8fc;
        font-size: 14px;
        margin-bottom: 16px;
        transition: all 0.2s ease;
    }

        .login-card input:focus {
            outline: none;
            border-color: #7d5fff;
            background-color: #ffffff;
        }

    /* ===============================
   TEXTO AYUDA
================================ */
    .login-card small {
        font-size: 11px;
        color: #a4b0be;
        display: block;
        margin-top: -12px;
        margin-bottom: 14px;
    }

    /* ===============================
   BOTÓN
================================ */
    .login-card button {
        width: 100%;
        background: #7d5fff;
        color: #ffffff;
        border: none;
        padding: 13px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .login-card button:hover {
            background: #6c4eff;
        }

/* ===============================
   ERRORES VALIDACIÓN
================================ */
.field-validation-error {
    font-size: 12px;
    color: #e74c3c;
    display: block;
    margin-top: -10px;
    margin-bottom: 10px;
}

.validation-summary-errors {
    margin-top: 15px;
    padding: 10px;
    background: #ffecec;
    border-radius: 10px;
    font-size: 13px;
    color: #c0392b;
}

    .validation-summary-errors ul {
        list-style: none;
        padding-left: 0;
    }
