/* ========================================
   DÉCLARATION
   ======================================== */

.declaration-section {
    background: linear-gradient(135deg, #fff3cd, #f8f9fa);
    border: 2px solid #ffeaa7;
    border-radius: var(--form-border-radius);
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.declaration-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--form-primary-color), #f59e0b);
}

.declaration-section h2 {
    color: var(--form-primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.declaration-section h2 i {
    font-size: 24px;
}

.declaration-content {
    background: white;
    padding: 20px;
    border-radius: calc(var(--form-border-radius) - 2px);
    border-left: 3px solid var(--form-accent-color);
    margin-top: 15px;
}

.declaration-content p {
    color: var(--form-text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.declaration-content ul {
    padding-left: 20px;
    margin: 15px 0;
}

.declaration-content li {
    margin-bottom: 8px;
    position: relative;
}

.declaration-content li:before {
    content: "•";
    color: var(--form-primary-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.declaration-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--form-border-radius);
}

.declaration-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.declaration-agreement {
    color: var(--form-text-color);
    font-weight: 500;
}

/* Declaration section */
.declaration-section {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.declaration-section h2 {
    color: #e11f12cc;
    margin-bottom: 15px;
}

/* ========================================
   AXES DE REFLEXION STYLING
   ======================================== */

/* Hide declaration section on all steps except the last one */
.form-step:not(:last-child) .declaration-section {
    display: none !important;
}

/* Make sure declaration section is visible on the last step */
.form-step:last-child .declaration-section {
    display: block !important;
}

/* Declaration section styling */
#step4 .declaration-section {
    background: linear-gradient(135deg, #fff3cd, #f8f9fa);
    border: 2px solid #ffeaa7;
    border-radius: var(--form-border-radius);
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

#step4 .declaration-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--form-primary-color), #f59e0b);
}

#step4 .declaration-section h4 {
    color: var(--form-primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#step4 .declaration-section h4 i {
    font-size: 24px;
}