/* Base Styles from index.html (moved here or kept in sync) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Modal Styles from Kendel-BRS */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
    margin-top: 0;
    border-bottom: none;
}

.modal-content p {
    margin-bottom: 2rem;
    color: #424245;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Button style for modal */
/* Button style for modal */
.submit-btn {
    background-color: #0B253A;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    /* Pill shape removed to match next-btn */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(11, 37, 58, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #163A57;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(11, 37, 58, 0.3);
}

/* Progressive Section Styles */
.survey-section {
    margin-bottom: 3rem;
    opacity: 1;
    transition: all 0.5s ease;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 2rem;
}

.survey-section:last-of-type {
    border-bottom: none;
}

.survey-section.hidden {
    display: none;
    opacity: 0;
}

.survey-section.collapsed {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: none;
}

.survey-section.collapsed>*:not(h2) {
    display: none;
}

.survey-section.collapsed h2 {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4a5568;
}

.survey-section.collapsed h2::after {
    content: 'Editar';
    font-size: 0.75rem;
    color: #0B253A;
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-btn {
    background-color: #0B253A;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
}

.next-btn:hover {
    background-color: #163A57;
    transform: translateY(-1px);
}