.lo-form-wrap {
    max-width: 760px;
    margin: 0 auto;
    font-family: inherit;
}

.lo-mensaje {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
}

.lo-mensaje.lo-exito {
    background: #e6f6ea;
    color: #1e7d34;
    border: 1px solid #b7e4c3;
}

.lo-mensaje.lo-error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f6c5c1;
}

.lo-fieldset {
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    padding: 20px 24px 8px;
    margin-bottom: 24px;
    background: #fafbfc;
}

.lo-fieldset legend {
    font-size: 1.15em;
    font-weight: 700;
    padding: 0 8px;
    color: #1d2327;
}

.lo-categoria {
    margin-bottom: 18px;
}

.lo-categoria-titulo {
    font-size: 1em;
    font-weight: 700;
    color: #2271b1;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e6ea;
}

.lo-titulo-secundario {
    margin-top: 10px;
    color: #8a5a00;
    border-bottom-color: #f0e0bd;
}

.lo-field {
    margin-bottom: 16px;
}

.lo-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1d2327;
}

.lo-req {
    color: #b3261e;
}

.lo-help {
    font-size: 0.85em;
    color: #6b7280;
    margin: 4px 0 0;
}

.lo-field input[type="text"],
.lo-field input[type="email"],
.lo-field select,
.lo-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c3c7cd;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    background: #fff;
}

.lo-field textarea {
    resize: vertical;
    min-height: 60px;
}

.lo-field input:focus,
.lo-field select:focus,
.lo-field textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.lo-checkbox-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

.lo-checkbox-field input[type="checkbox"] {
    width: auto;
}

.lo-intercompania-bloque {
    border-top: 1px dashed #d9c893;
    margin-top: 10px;
    padding-top: 10px;
}

.lo-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.lo-btn-submit {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lo-btn-submit:hover {
    background: #185a8f;
}

.lo-btn-submit:disabled {
    background: #9ab8d1;
    cursor: not-allowed;
}

.lo-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #dcdfe4;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: lo-spin 0.7s linear infinite;
}

@keyframes lo-spin {
    to { transform: rotate(360deg); }
}

.lo-campo-invalido {
    border-color: #b3261e !important;
    box-shadow: 0 0 0 2px rgba(179, 38, 30, 0.12) !important;
}
