/* OTA Multiagencia - Estilos Globales */

.ota-tab-content {
    display: none !important;
}

.ota-tab-content.active {
    display: block !important;
}

/* Estilos para los campos del formulario */
.ota-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.ota-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ota-field input,
.ota-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    background: white;
    box-sizing: border-box;
}

.ota-field input:focus,
.ota-field select:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.ota-form-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

/* Loading spinner */
.ota-loading {
    text-align: center;
    padding: 40px;
    color: #1e3c72;
}

.ota-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1e3c72;
    border-radius: 50%;
    animation: ota-spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes ota-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos adicionales para admin */
.ota-admin-notice {
    padding: 15px;
    border-left: 4px solid #1e3c72;
    background: #e3f2fd;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ota-form-grid {
        grid-template-columns: 1fr !important;
    }
}
