/* ===== LEGAL & MULTILINGUAL SPECIFIC STYLES ===== */

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .prose,
[dir="rtl"] .card-inner,
[dir="rtl"] .contact-inner {
  text-align: right;
}

[dir="rtl"] .prose ul {
  padding-left: 0;
  padding-right: 24px;
}

[dir="rtl"] .prose h2::after {
  left: auto;
  right: 0;
}

/* Language Content Logic */
.lang-content { display: none; }
.lang-content.active { display: block; }
nav.menu a span.lang-content.active,
button span.lang-content.active { display: inline; }

/* Arabic/Dari Fonts */
.lang-ar, .lang-fa { font-family: 'Noto Sans Arabic', sans-serif; }

/* Language Notice Banner */
.language-notice {
  background: linear-gradient(135deg, #336B7A 0%, #2a5763 100%);
  color: white;
  padding: 20px 0;
  text-align: center;
  border-bottom: 3px solid var(--brand-green);
}

.language-notice .lang-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.language-notice .lang-buttons button {
  background: white;
  border: none;
  color: #336B7A;
  font-weight: 700;
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.language-notice .lang-buttons button.active,
.language-notice .lang-buttons button:hover {
  background: var(--brand-green);
  color: black;
}

/* Legal Specific Boxes */
.access-box {
  background: white;
  border: 2px solid var(--brand-green);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.survey-link {
  background: var(--brand-green);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.3rem;
  display: inline-block;
  color: black;
  text-decoration: none;
}

.letter-note {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 4px solid var(--brand-green);
}

[dir="rtl"] .letter-note {
  border-left: none;
  border-right: 4px solid var(--brand-green);
}

.translation-notice {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  text-align: center;
}