.registro-hero {
    background: linear-gradient(135deg, var(--color-azul-primario) 0%, var(--color-azul-secundario) 100%);
    color: #fff;
    padding: 3rem 0 2rem;
    text-align: center;
}

.registro-hero h1 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.registro-main {
    max-width: 700px;
    margin: -1.5rem auto 2rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.registro-form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
}

.registro-form .full-width {
    grid-column: 1 / -1;
}

.registro-form label {
    font-weight: 600;
    color: var(--color-azul-primario);
    margin-bottom: 0.3rem;
    display: block;
}

.registro-form input, .registro-form select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--color-azul-primario);
    border-radius: 8px;
    font-size: 1rem;
    background: #f7f7fa;
    transition: border-color 0.2s;
    margin-bottom: 0.5rem;
}

.registro-form input:focus, .registro-form select:focus {
    border-color: var(--color-naranja);
    outline: none;
}

.registro-btn {
    width: 100%;
    background: var(--color-naranja);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 0.5rem;
}

.registro-btn:hover {
    background: #e07a1a;
    transform: translateY(-2px);
}

.registro-extra {
    width: 100%;
    text-align: center;
    margin-top: 1.2rem;
}

.registro-extra a {
    color: var(--color-azul-primario);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.registro-extra a:hover {
    color: var(--color-naranja);
}

.password-rules {
    font-size: 0.97rem;
    color: #666;
    margin-bottom: 0.5rem;
    margin-top: -0.7rem;
    padding-left: 0.2rem;
}

.password-rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-rules li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.password-rules .rule-ok {
    color: #2e7d32;
    font-weight: 700;
}

.password-rules .rule-bad {
    color: #d32f2f;
    font-weight: 500;
}

.password-error {
    color: #d32f2f;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

.password-match {
    font-size: 0.97rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-match.match-ok {
    color: #2e7d32;
    font-weight: 700;
}

.password-match.match-bad {
    color: #d32f2f;
    font-weight: 500;
}

@media (max-width: 700px) {
    .registro-form {
        grid-template-columns: 1fr;
    }
    .registro-main {
        padding: 1.5rem 0.5rem;
    }
}
