/* CONTENEDOR PRINCIPAL EN MODO CLARO */
.ob-form-container {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    color: #2d3748;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-size: 17px; /* Aumentado 3px (base ~14px -> 17px) */
    line-height: 1.6;
}

.ob-form-container h2 {
    color: #1a202c;
    font-size: 27px; /* Aumentado 3px (24px -> 27px) */
    margin-bottom: 20px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 10px;
}

.ob-form-container h4 {
    color: #2b6cb0;
    font-size: 19px; /* Aumentado 3px */
    margin-top: 25px;
    margin-bottom: 12px;
}

/* 📌 CUADRO RESUMEN DE REQUISITOS (ESTILO CLARO) */
.ob-requirements-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0284c7;
    border-radius: 8px;
    padding: 22px 26px;
    margin-bottom: 20px;
}

.ob-requirements-box h3 {
    margin-top: 0;
    color: #0369a1;
    font-size: 18px; /* Aumentado 3px */
    font-weight: 400;
}

.ob-requirements-box ul {
    margin: 12px 0 15px 22px;
    padding: 0;
    color: #334155;
    font-size: 16px; /* Aumentado 3px */
}

.ob-requirements-box ul li {
    margin-bottom: 14px;
    line-height: 1.3;
}

.ob-requirements-box small {
    display: block;
    color: #64748b;
    font-size: 14px; /* Aumentado 3px */
    border-top: 1px dashed #cbd5e1;
    padding-top: 10px;
}

/* NAVEGACIÓN DE PESTAÑAS */
.ob-tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 2px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 4px;
}

.ob-tab-link {
    padding: 12px 20px;
    cursor: pointer;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 8px 8px 0 0;
    font-size: 16px; /* Aumentado 3px */
    font-weight: 400;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    transition: all 0.2s ease;
}

.ob-tab-link:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.ob-tab-link.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* CONTENIDO DE PESTAÑAS CON TRANSICIÓN */
.ob-tab-content {
    display: none;
}

.ob-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FIELDSET Y FORMULARIOS */
.ob-form-container fieldset {
    border: 1px solid #cbd5e1;
    padding: 24px;
    border-radius: 8px;
    background: #fafafa;
    margin-bottom: 20px;
}

.ob-form-container legend {
    color: #0369a1;
    font-weight: 400;
    font-size: 18px; /* Aumentado 3px */
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.ob-form-container label {
    font-weight: 400;
    color: #1e293b;
    font-size: 16px; /* Aumentado 3px */
}

/* INPUTS, SELECTS Y TEXTAREAS EN FONDO BLANCO CON BORDES DEFINIDOS */
.ob-form-container input[type="text"],
.ob-form-container input[type="email"],
.ob-form-container input[type="url"],
.ob-form-container input[type="number"],
.ob-form-container input[type="tel"],
.ob-form-container input[type="date"],
.ob-form-container select,
.ob-form-container textarea {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    border-radius: 6px;
    font-size: 16px; /* Aumentado 3px */
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ob-form-container input:focus,
.ob-form-container select:focus,
.ob-form-container textarea:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.word-count {
    display: block;
    font-size: 14px; /* Aumentado 3px (11px -> 14px) */
    color: #64748b;
    text-align: right;
    margin-top: -8px;
    margin-bottom: 12px;
}

/* BOTONES DE NAVEGACIÓN Y ENVÍO */
.ob-tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.ob-tab-buttons.align-right {
    justify-content: flex-end;
}

.ob-btn-next, .ob-btn-prev {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    font-weight: 400;
    cursor: pointer;
    font-size: 16px; /* Aumentado 3px */
    transition: background 0.2s, transform 0.1s;
}

.ob-btn-next {
    background: #0284c7;
    color: #ffffff;
}

.ob-btn-next:hover {
    background: #0369a1;
}

.ob-btn-prev {
    background: #e2e8f0;
    color: #334155;
}

.ob-btn-prev:hover {
    background: #cbd5e1;
}

#ob-submit-btn {
    background: #e11d48;
    color: #ffffff;
    font-weight: 400;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px; /* Aumentado 3px */
    transition: background 0.2s;
}

#ob-submit-btn:hover {
    background: #be123c;
}

/* BANNERS Y RESPUESTAS */
.ob-alert-banner {
    background: #fef3c7;
    border: 1px solid #fde047;
    color: #78350f;
    padding: 14px;
    margin-bottom: 25px;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    font-size: 15px;
}

#ob-form-response {
    margin-top: 20px;
    padding: 16px;
    text-align: center;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}
#ob-form-response.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
#ob-form-response.error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Regla específica para móviles (menos de 768px de pantalla) */
@media (max-width: 767px) {
    .ob-tab-link {
        padding: 10px 8px;
        font-size: 12px;
        
    }
}
