/* ============================================
   RECLAMATION PAGE - AAPI INSPIRED DESIGN
   ============================================ */

:root {
    --primary-green: #2e8b57;
    --primary-green-light: #58b281;
    --primary-green-dark: #1e6b47;
    --bg-light: #f7f9f7;
    --bg-white: #ffffff;
    --border-color: #d4e5dc;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #888888;
    --error-red: #dc3545;
    --success-green: #28a745;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    padding: 30px 0;
    color: white;
}

.page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.breadcrumb {
    font-size: 0.95rem; /* taille augmentée */
    opacity: 0.9;
}

.breadcrumb .separator {
    margin: 0 8px;
}

.breadcrumb .current {
    font-weight: 500;
}

/* Main Section */
.reclamation-section {
    background: var(--bg-light);
    padding: 40px 30px;
    min-height: calc(100vh - 200px);
}

.reclamation-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

/* Panel Styles */
.presentation-panel,
.form-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.panel-icon {
    width: 14px;
    height: 14px;
    background: var(--primary-green);
    border-radius: 3px;
}

.panel-header h2 {
    font-size: 1.35rem; /* taille augmentée */
    font-weight: 600;
    color: var(--primary-green);
    margin: 0;
}

.panel-content {
    padding: 32px;
}

/* Presentation Panel */
.presentation-image {
    width: 100%;
    height: 250px; /* réduit la hauteur visible */
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.presentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recadre proprement */
    display: block;
}

.presentation-text {
    color: var(--text-dark);
    font-size: 1.9rem; /* taille augmentée */
    line-height: 1.9;
    text-align: justify;
}

.presentation-text p {
    margin-bottom: 16px;
}

.engagement-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.engagement-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.engagement-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Form Panel */
.form-toolbar {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.toolbar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1.05rem; /* taille augmentée */
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.toolbar-btn:hover:not(:disabled) {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toolbar-btn i {
    font-size: 0.9rem; /* taille augmentée */
}

.required-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem; /* taille augmentée */
    color: var(--text-muted);
    margin-bottom: 20px;
}

.required-dot {
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    display: inline-block;
}

.confidentiality-box {
    background: linear-gradient(to right, #e8f5ec, #f0faf4);
    border: 1px solid #b8d9c5;
    border-left: 4px solid var(--primary-green);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.confidentiality-box p {
    margin: 0;
    color: var(--primary-green-dark);
    font-size: 1.05rem; /* taille augmentée */
    line-height: 1.6;
}

/* Form Sections */
.form-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.25rem; /* taille augmentée */
    font-weight: 600;
    color: var(--primary-green);
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-green-light);
    display: inline-block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.25rem; /* taille augmentée */
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 15px 17px; /* taille augmentée */
    font-size: 1.05rem; /* taille augmentée */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-control.is-invalid {
    border-color: var(--error-red);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px; /* taille augmentée */
}

.invalid-feedback {
    color: var(--error-red);
    font-size: 1.9rem; /* taille augmentée */
    margin-top: 6px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    transition: all 0.2s ease;
}

.file-upload-box i {
    font-size: 2rem;
    color: var(--primary-green-light);
}

.file-upload-box span {
    font-size: 1rem; /* taille augmentée */
    color: var(--text-muted);
}

.file-upload-wrapper:hover .file-upload-box {
    border-color: var(--primary-green);
    background: #f0faf4;
}

/* Terms Section */
.terms-section {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding-left: 32px;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-white);
    transition: all 0.2s ease;
}

.checkbox-wrapper:hover .checkmark {
    border-color: var(--primary-green);
}

.checkbox-wrapper input:checked ~ .checkmark {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox-wrapper input:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 1rem; /* taille augmentée */
    color: var(--text-dark);
    line-height: 1.5;
}

.terms-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .reclamation-container {
        grid-template-columns: 1fr;
    }

    .presentation-panel {
        order: 2;
    }

    .form-panel {
        order: 1;
    }
}

@media (max-width: 640px) {
    .reclamation-section {
        padding: 20px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .panel-content {
        padding: 16px;
    }

    .page-header-content {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .form-toolbar {
        flex-direction: column;
    }

    .toolbar-btn {
        justify-content: center;
    }
}
.engagement-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
}

.engagement-table th,
.engagement-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.engagement-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

blockquote {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #007bff;
    font-style: italic;
}
.accordion-item {
    margin-bottom: 10px;
}

.accordion-btn {
    width: 100%;
    padding: 12px;
    text-align: left;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
}

.accordion-btn:hover {
    background: #e8e8e8;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    padding: 0 10px;
}

.accordion-btn.active {
    background: #dceeff;
}
.ethic-link {
    display: inline-block;
    padding: 10px 18px;
    color: red;
    font-weight: bold;
    text-decoration: none;
}