/* EES Office — WPML first-visit modal. All selectors are namespaced. */
#ees-language-welcome.ees-lw-dialog {
  --lw-surface: #fff;
  --lw-title: #132944;
  --lw-muted: #60728b;
  --lw-line: #e2ebf5;
  --lw-tint: #edf5ff;
  --lw-blue: #2169d5;
  --lw-hover: #f7faff;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(470px, calc(100% - 30px));
  max-width: 470px;
  max-height: min(95dvh, 820px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--lw-line);
  border-radius: 24px;
  background: var(--lw-surface);
  color: var(--lw-title);
  box-shadow: 0 30px 100px rgba(7, 23, 49, .26);
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--e-global-typography-text-font-family, Inter, "Segoe UI", Arial, sans-serif);
  line-height: 1.5;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  z-index: 2147483600;
  color-scheme: light;
}
#ees-language-welcome.ees-lw-dialog::backdrop {
  background: rgba(8, 22, 43, .74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html.thim-ekit-dark-mode #ees-language-welcome.ees-lw-dialog {
  --lw-surface: #18283d;
  --lw-title: #f2f7ff;
  --lw-muted: #bbcadc;
  --lw-line: #3b536d;
  --lw-tint: #263c57;
  --lw-blue: #9ac5ff;
  --lw-hover: #21364f;
  color-scheme: dark;
}
#ees-language-welcome * { box-sizing: border-box; }
#ees-language-welcome .ees-lw-card { position: relative; padding: 30px 32px 27px; }
#ees-language-welcome .ees-lw-accent {
  position: absolute; inset: 0 0 auto; height: 5px;
  background: linear-gradient(90deg, #2169d5, #55bde8, #2169d5);
}
#ees-language-welcome .ees-lw-top { text-align: center; }
#ees-language-welcome .ees-lw-icon {
  display: grid; place-items: center; width: 55px; height: 55px;
  margin: 0 auto 12px; border-radius: 16px; color: var(--lw-blue);
  background: var(--lw-tint);
}
#ees-language-welcome .ees-lw-brand {
  display: block; font-size: 14px; font-weight: 850;
  letter-spacing: .14em; color: var(--lw-title);
}
#ees-language-welcome .ees-lw-brand span { color: var(--lw-blue); }
#ees-language-welcome .ees-lw-eyebrow {
  margin: 14px 0 7px; color: var(--lw-blue);
  font-size: 10px; font-weight: 800; letter-spacing: .09em;
}
#ees-language-welcome h2#ees-lw-title {
  margin: 0 0 9px; font-size: clamp(24px, 4vw, 30px);
  line-height: 1.2; letter-spacing: -.035em; font-weight: 800;
  color: var(--lw-title); text-transform: none;
}
#ees-language-welcome .ees-lw-description {
  margin: 0; color: var(--lw-muted); font-size: 13px; line-height: 1.8;
}
#ees-language-welcome .ees-lw-description span { font-size: 13px; }
#ees-language-welcome .ees-lw-options {
  display: grid; gap: 10px; margin: 23px 0 18px;
}
#ees-language-welcome .ees-lw-option {
  display: flex; flex-direction: row; align-items: center;
  gap: 15px; min-height: 75px; padding: 12px 15px;
  border: 1px solid var(--lw-line); border-radius: 14px;
  color: var(--lw-title); background: var(--lw-surface);
  text-decoration: none !important; cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
#ees-language-welcome .ees-lw-option:hover,
#ees-language-welcome .ees-lw-option:focus-visible {
  background: var(--lw-hover); border-color: var(--lw-blue);
  transform: translateY(-1px); box-shadow: 0 7px 18px rgba(33,105,213,.08);
}
#ees-language-welcome .ees-lw-option:focus-visible {
  outline: 3px solid #e5a63b; outline-offset: 2px;
}
#ees-language-welcome .ees-lw-code {
  width: 45px; height: 45px; flex: 0 0 45px; display: grid;
  place-items: center; border-radius: 12px; font-weight: 850;
  font-size: 15px; background: var(--lw-tint); color: var(--lw-blue);
}
#ees-language-welcome .ees-lw-option-copy {
  display: flex; flex: 1; min-width: 0; flex-direction: column;
  align-items: flex-start; text-align: start; gap: 2px;
}
#ees-language-welcome .ees-lw-option-copy strong {
  font-size: 16px; font-weight: 750; color: var(--lw-title);
  line-height: 1.35;
}
#ees-language-welcome .ees-lw-option-copy small {
  font-size: 12px; font-weight: 400; color: var(--lw-muted);
  line-height: 1.45;
}
#ees-language-welcome .ees-lw-arrow { color: var(--lw-muted); display: flex; flex: 0 0 auto; }
#ees-language-welcome .ees-lw-option:hover .ees-lw-arrow { color: var(--lw-blue); transform: translateX(2px); }
#ees-language-welcome .ees-lw-option[lang="ar"] .ees-lw-option-copy { direction: rtl; align-items: flex-end; }
#ees-language-welcome .ees-lw-footnote {
  margin: 0; text-align: center; color: var(--lw-muted);
  font-size: 11px; line-height: 1.7;
}
#ees-language-welcome .ees-lw-footnote span { font-size: 10.5px; }
html.ees-lw-lock, html.ees-lw-lock body { overflow: hidden !important; }
@media (max-width: 500px) {
  #ees-language-welcome.ees-lw-dialog { border-radius: 19px; max-height: calc(100dvh - 24px); }
  #ees-language-welcome .ees-lw-card { padding: 23px 20px 20px; }
  #ees-language-welcome .ees-lw-option { min-height: 68px; padding: 10px 12px; gap: 11px; }
  #ees-language-welcome .ees-lw-options { gap: 9px; margin: 18px 0 14px; }
  #ees-language-welcome .ees-lw-description { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #ees-language-welcome *, #ees-language-welcome *::before, #ees-language-welcome *::after {
    transition: none !important; animation: none !important;
  }
}
