* { box-sizing: border-box; }
body {
    font-family: Arial, sans-serif;
    background: #f4f2f8;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.tarjeta {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    padding: 32px;
    width: 100%;
    max-width: 380px;
}
h1 {
    font-size: 20px;
    margin: 0 0 6px;
    color: #2b1156;
}
p.subtitulo {
    font-size: 13px;
    color: #666;
    margin: 0 0 20px;
}
label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}
input {
    width: 100%;
    padding: 10px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
input:focus {
    outline: none;
    border-color: #7c3aed;
}
button {
    width: 100%;
    padding: 11px;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
button:hover { background: #6d28d9; }
button:disabled { background: #b3a3d9; cursor: not-allowed; }
.enlace {
    text-align: center;
    font-size: 13px;
    margin-top: 14px;
}
.enlace a { color: #7c3aed; text-decoration: none; }
.mensaje {
    font-size: 13px;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    display: none;
}
.mensaje.error { background: #fde8e8; color: #b91c1c; display: block; }
.mensaje.exito { background: #e6f6ec; color: #15803d; display: block; }
.requisitos {
    font-size: 11px;
    color: #777;
    margin: -8px 0 14px;
    line-height: 1.5;
}
.requisitos .ok { color: #15803d; }
