* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Figtree', sans-serif; }

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(60, 0, 0, 0.45);
    z-index: 0;
}

.tarjeta {
    position: relative;
    z-index: 1;
    display: flex;
    width: 860px;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.col-izquierda {
    width: 50%;
    background: rgba(110, 8, 8, 0.82);
    backdrop-filter: blur(6px);
    padding: 50px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.col-izquierda h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 14px;
}

.col-izquierda p {
    color: #f5c6c6;
    font-size: 14px;
    line-height: 1.7;
}

.acceso-seguro {
    color: #f5c6c6;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.col-derecha {
    width: 50%;
    background: rgba(255,255,255,0.96);
    padding: 52px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-derecha h2 {
    font-size: 28px;
    font-weight: 600;
    color: #111;
    margin-bottom: 30px;
}

.campo { margin-bottom: 20px; }

.campo label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.campo input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.campo input:focus {
    border-color: #9b1c1c;
    box-shadow: 0 0 0 3px rgba(155,28,28,0.12);
}

.btn-ingresar {
    width: 100%;
    padding: 14px;
    background: #9b1c1c;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s;
}

.btn-ingresar:hover { background: #7f1d1d; }

.fila-inferior {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 13px;
    color: #555;
}

.recuerdame {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.fila-inferior a {
    color: #9b1c1c;
    text-decoration: none;
    font-size: 13px;
}

.fila-inferior a:hover { text-decoration: underline; }

.alerta-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}

.alerta-exito {
    background: #d1fae5;
    color: #065f46;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}