:root {
    --bg-gradient: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    --panel-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: #EC1375;
    --accent-2: #0081AC;
    --muted: #7b8794;
    --text: #0b1b2b;
    --shadow-soft: 0 10px 30px rgba(10, 14, 25, 0.06);
    --radius-lg: 12px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-gradient);
    color: var(--text);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* tarjeta principal */
.login-card {
    width: 400px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 253, 0.96));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(16, 24, 40, 0.03);
    padding: 28px;
}

/* encabezado */
.login-card h1 {
    margin: 0 0 14px 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* subtítulo/opcional */
.login-card p.lead {
    margin: 0 0 20px 0;
    color: var(--muted);
    font-size: 13px;
}

/* formulario */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* inputs */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(9, 14, 24, 0.07);
    background: rgba(255, 255, 255, 0.98);
    font-size: 14px;
    color: var(--text);
    transition: border-color .12s ease, box-shadow .12s ease, transform .08s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: rgba(109, 40, 217, 0.9);
    box-shadow: 0 8px 26px rgba(109, 40, 217, 0.06);
}

/* checkbox / small text */
.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
}

/* botón principal, estilo similar a .btn */
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
    box-shadow: 0 4px 12px rgba(236, 19, 117, 0.25);
    background: var(--accent);
    color: white;
    outline: 1px solid var(--accent);
    margin-top: 22px;
}

button[type="submit"]:hover {
    outline: none;
    border-radius: 12px;
    background: #ffffff;
    color: var(--accent);
    box-shadow: 0 8px 28px rgba(217, 52, 117, 0.22),
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(217, 52, 117, 0.15);
    transform: translateY(-2px);
}

/* link secundarios */
.login-card .small-muted {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
}

.login-button {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    color: var(--accent);
    font-size: 14px;
    text-decoration: none;
}

input {
    margin-top: 12px;
}

label {
    margin-top: 12px;
}


/* Inputs MFA */
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
}

.code-inputs .digit {
    width: 40px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    border: 1px solid rgba(9, 14, 24, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    transition: border-color .12s ease, box-shadow .12s ease;
}

.code-inputs .digit:focus {
    border-color: rgba(109, 40, 217, 0.9);
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.1);
    outline: none;
}