/* ===================================================================
   Legal Pages Styles
=================================================================== */

.legal-page-main-title {
    background-color: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.legal-page-main-title h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #00332d;
}

.legal-intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.legal-section-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.legal-section-box h2 {
    font-size: 1.8rem;
    color: #006A63;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #006A63;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.legal-section-box ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.legal-section-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.75rem;
}

.legal-section-box ul li::before {
    content: '\f058'; /* Font Awesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 2px;
}

.legal-page-content {
    padding-top: 2rem;
}

.legal-page-content h2 {
    font-size: 2rem;
    color: #006A63;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.legal-page-content h3 {
    font-size: 1.5rem;
    color: #00332d;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page-content p, .legal-page-content li {
    line-height: 1.8;
}

.legal-page-content ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* Version History Section */
.btn-back-to-legal {
    margin-bottom: 2rem;
    display: inline-block;
}

.version-history-section {
    margin-bottom: 2.5rem;
}

.version-history-section h2 {
    font-size: 1.8rem;
    color: #006A63;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #006A63;
    padding-bottom: 0.5rem;
}

.version-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

.version-item p {
    margin: 0;
    font-size: 1.1rem;
}

.version-item .btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Mentions Legales & Politique de Confidentialité Page */
.legal-text-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

.info-block {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.info-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.info-block h2 {
    font-size: 1.7rem;
    color: #006A63;
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-block p,
.info-block address {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.info-block address {
    font-style: normal;
}

.footer-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #006A63;
}

.footer-note p {
    margin: 0;
    line-height: 1.7;
}

.legal-text-content-wrapper section {
    margin-bottom: 2.5rem;
}

.legal-text-content-wrapper section h2 {
    font-size: 1.8rem;
    color: #006A63;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.legal-text-content-wrapper .highlight {
    background-color: #e0f2f1;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.meta-info-container {
    display: flex;
    justify-content: space-between;
    background-color: #f8f9fa;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #555;
}

.meta-info-container .meta-info {
    margin: 0;
}

/* Table Styles */
.legal-text-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.legal-text-content-wrapper th,
.legal-text-content-wrapper td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.legal-text-content-wrapper thead {
    background-color: #006A63;
    color: #fff;
}

.legal-text-content-wrapper thead th {
    font-weight: 700;
}

.legal-text-content-wrapper tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

