/* Legal Pages Common Styles (Privacy, Terms, Safety) */

.legal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #dee2e6;
}

.legal-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.025);
    transition: transform 0.2s;
}

.legal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}

.section-title {
    color: #e91e63;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.section-icon {
    font-size: 1.5rem;
    margin-inline-end: 0.75rem;
    color: #e91e63;
}

.subsection-title {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Table of Contents */
.toc-sticky {
    position: sticky;
    top: 100px;
}

.toc-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #6c757d;
    text-decoration: none;
    border-right: 3px solid transparent;
    transition: all 0.2s;
}

/* RTL Specifics for TOC */
html[dir="rtl"] .toc-link {
    border-right: 3px solid transparent;
    border-left: none;
}
html[dir="ltr"] .toc-link {
    border-left: 3px solid transparent;
    border-right: none;
}

.toc-link:hover, .toc-link.active {
    color: #e91e63;
    background-color: #f8f9fa;
    font-weight: 600;
}

html[dir="rtl"] .toc-link:hover, html[dir="rtl"] .toc-link.active {
    border-right-color: #e91e63;
}
html[dir="ltr"] .toc-link:hover, html[dir="ltr"] .toc-link.active {
    border-left-color: #e91e63;
}

/* Notice Boxes */
.notice-box {
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.notice-box-success {
    background-color: #f0fdf4; /* Light green */
    border: 1px solid #bbf7d0;
    color: #166534;
}

.notice-box-danger {
    background-color: #fef2f2; /* Light red/pink */
    border: 1px solid #fecaca;
    color: #991b1b;
}

.notice-box-warning {
    background-color: #fffbeb; /* Light yellow/amber */
    border: 1px solid #fde68a;
    color: #92400e;
}

.notice-box-info {
    background-color: #eff6ff; /* Light blue */
    border: 1px solid #dbeafe;
    color: #1e40af;
}

.contact-box {
    background-color: #eff6ff; /* Light blue */
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

/* Lists */
.bullet-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.bullet-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-inline-start: 1.2rem;
}

.bullet-list li::before {
    content: "•";
    color: #e91e63;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-inline-start: -1em;
    position: absolute;
    left: 0;
}

html[dir="rtl"] .bullet-list li::before {
    right: 0;
    left: auto;
}

/* Safety Page Specifics */
.commitment-box {
    background-color: #e91e63;
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}

.commitment-box h3, .commitment-box h5 {
    color: white;
}

.commitment-list li::before {
    color: white;
}
