* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #f4f5f7;
    color: #1f2430;
}

.contenedor {
    max-width: 420px;
    margin: 8vh auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contenedor.ancho {
    max-width: 720px;
}

h1 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    margin-top: 1rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid #d0d4dc;
    border-radius: 6px;
    font-size: 0.95rem;
}

button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.7rem;
    background: #2f5bf6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

button:hover { background: #2447cc; }

.errores {
    background: #fdecea;
    color: #9d2b2b;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.errores ul { margin: 0; padding-left: 1.2rem; }

.aviso {
    background: #eaf3ff;
    color: #1a4b8c;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.enlace-secundario {
    display: block;
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: #555;
}

.enlace-secundario a { color: #2f5bf6; }

table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid #eceef2; font-size: 0.9rem; }
th { color: #666; font-weight: 600; }

.etiqueta {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.etiqueta.ok { background: #e3f6e8; color: #1e7b34; }
.etiqueta.pendiente { background: #fff4dc; color: #8a5a00; }

.barra-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.barra-superior a { color: #2f5bf6; text-decoration: none; font-size: 0.9rem; }
