/* ============================================================
   registro_empresa.css — Formulario de alta de nueva empresa
   ============================================================ */

.login-container {
    max-width: 560px;
    padding: 2rem;
}
.form-section {
    margin: 1.5rem 0 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e9ecef;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}
.form-grid .form-group.full {
    grid-column: 1 / -1;
}
.form-group {
    margin-bottom: 0.85rem;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #495057;
}
.form-group input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
}
.field-error {
    color: #dc3545;
    font-size: 0.78rem;
    margin-top: 0.2rem;
}
.alert-error { background: #f8d7da; color: #842029; border-radius: 6px; padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.88rem; }
.alert-success { background: #d1e7dd; color: #0a3622; border-radius: 6px; padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.88rem; }
.btn-registro {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-registro:hover { background: #218838; }
.ya-tienes {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.88rem;
    color: #6c757d;
}
.ya-tienes a { color: #4a90e2; text-decoration: none; font-weight: 600; }
