/* Page d'attente du portail parents (aucun script, aucun style en ligne : compatible avec la CSP du Worker). */
:root {
  --alif-green: #4E8F1E;
  --alif-green-dark: #2d5a11;
  --alif-green-light: #eaf5e1;
  --alif-navy: #1e293b;
  --alif-text-muted: #475569;
  --alif-bg: #f8fafc;
  --alif-card: #ffffff;
  --alif-border: rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--alif-bg);
  color: var(--alif-navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.portal-header {
  background: linear-gradient(135deg, var(--alif-green-dark) 0%, var(--alif-green) 100%);
  color: #ffffff;
  padding: 24px 16px 28px;
  text-align: center;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 4px 16px rgba(45, 90, 17, 0.2);
}
.portal-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; }
.portal-logo {
  width: 52px; height: 52px; background: #ffffff; border-radius: 50%; padding: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); display: block; object-fit: contain;
}
.portal-title { font-size: 19px; font-weight: 700; letter-spacing: 0.2px; color: #ffffff; }
.portal-subtitle { font-size: 13px; opacity: 0.92; color: #f1f5f9; }
.container { max-width: 560px; width: 100%; margin: -16px auto 0; padding: 0 16px 32px; flex: 1; min-width: 0; }
.card {
  background: var(--alif-card); border-radius: 16px; padding: 24px 20px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); border: 1px solid var(--alif-border);
}
.status-badge-container { text-align: center; margin-bottom: 20px; }
.status-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--alif-green-light);
  color: var(--alif-green-dark); padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 14px;
  border: 1px solid rgba(78, 143, 30, 0.2);
}
.status-icon { width: 8px; height: 8px; border-radius: 50%; background: var(--alif-green); }
.lang-section { padding: 12px 0; }
.lang-section + .lang-section { border-top: 1px solid var(--alif-border); margin-top: 16px; padding-top: 20px; }
.lang-fr { text-align: left; }
.lang-ar { text-align: right; direction: rtl; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif; line-height: 1.7; }
.heading-main { font-size: 18px; font-weight: 700; color: var(--alif-navy); margin-bottom: 8px; }
.message-lead { font-size: 15px; color: var(--alif-navy); font-weight: 600; margin-bottom: 8px; }
.message-body { font-size: 14px; color: var(--alif-text-muted); line-height: 1.6; }
.info-box {
  background: #f1f5f9; border-left: 4px solid var(--alif-green); border-radius: 8px;
  padding: 12px 14px; margin-top: 12px; font-size: 13px; color: var(--alif-navy);
}
.lang-ar .info-box { border-left: none; border-right: 4px solid var(--alif-green); }

.card-contact { text-align: center; }
.contact-title { font-size: 15px; font-weight: 700; color: var(--alif-navy); margin-bottom: 12px; }
.contact-list { font-style: normal; text-align: left; margin-bottom: 16px; }
.contact-line {
  display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--alif-border);
  font-size: 14px; color: var(--alif-navy); overflow-wrap: anywhere;
}
.contact-line:first-child { border-top: none; }
.contact-label { flex: 0 0 84px; color: var(--alif-text-muted); font-weight: 600; }
.contact-line a { color: var(--alif-green-dark); font-weight: 600; text-decoration: none; }
.contact-line a:hover, .contact-line a:focus-visible { text-decoration: underline; }
.btn-whatsapp {
  display: block; background: #1f8f4a; color: #ffffff; font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 13px 16px; border-radius: 12px;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #17763c; }
.portal-footer { text-align: center; font-size: 12px; color: var(--alif-text-muted); padding: 8px 16px 24px; }

/* Liens vers les réseaux sociaux de l'association (icônes SVG intégrées : aucune ressource externe). */
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  color: #ffffff; font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1;
}
.social-link svg { flex: 0 0 auto; }
.social-facebook { background: #1877f2; }
.social-facebook:hover, .social-facebook:focus-visible { background: #1462c9; }
.social-instagram { background: #c13584; }
.social-instagram:hover, .social-instagram:focus-visible { background: #9d2a6b; }
.social-link:focus-visible { outline: 3px solid #1e293b; outline-offset: 2px; }
