/* ============================================================
   ACEC — Shared stylesheet for /auth/* pages
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #222;
}

/* ----- Card ----- */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.card-wide { max-width: 760px; text-align: left; }

/* ----- Brand block (logo + powered + tagline) ----- */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}
.brand-logo { width: 140px; height: auto; margin-bottom: 18px; }
.brand-logo-sm { width: 90px; }
.powered {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: #111;
  margin-bottom: 4px;
}
.powered strong { font-style: normal; font-weight: 800; color: #c0392b; }
.tagline { font-size: 13px; color: #888; letter-spacing: .5px; }

/* ----- Status icons (verify success/error) ----- */
.icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.icon-ok  { background: linear-gradient(135deg, #27ae60, #2ecc71); box-shadow: 0 8px 24px rgba(39, 174, 96, .3); }
.icon-err { background: linear-gradient(135deg, #e74c3c, #c0392b); box-shadow: 0 8px 24px rgba(231, 76, 60, .3); }
.icon svg {
  width: 36px; height: 36px;
  stroke: #fff; fill: none;
  stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

/* ----- Typography ----- */
h1 { color: #1a1a2e; font-size: 24px; font-weight: 800; margin-bottom: 10px; }
h2 { color: #2c3e50; font-size: 17px; font-weight: 700; margin-top: 1.6em; margin-bottom: .5em; }
p  { color: #666; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.card-wide p { color: #444; }
a  { color: #c0392b; text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #1a1a2e; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #c0392b; color: #fff;
  text-decoration: none;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 20px rgba(192, 57, 43, .35);
  margin: 6px;
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn-outline { background: transparent; color: #c0392b; border: 2px solid #c0392b; box-shadow: none; }

/* ----- Divider ----- */
.divider { height: 1px; background: #f0f0f0; margin: 20px 0; }

/* ----- Form (password reset) ----- */
.form-group { text-align: left; margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 700; color: #1a1a2e;
}
.form-group input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid #e0e0e6;
  border-radius: 8px;
  background: #fafafa;
  outline: none;
  transition: border-color .2s, background .2s;
  font-family: inherit;
}
.form-group input:focus { border-color: #c0392b; background: #fff; }
.form-group .hint { font-size: 11px; color: #999; margin-top: 4px; }
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 44px; }
.pwd-toggle {
  position: absolute; top: 50%; right: 6px;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: transparent; border: 0; padding: 0;
  cursor: pointer; color: #888;
  border-radius: 6px;
}
.pwd-toggle:hover { color: #c0392b; background: #f7f7f7; }
.pwd-toggle svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.form-error {
  color: #c0392b; font-size: 13px; margin: 12px 0;
  text-align: center; min-height: 18px;
}
.btn-block { display: block; width: 100%; margin: 16px 0 0; border: none; cursor: pointer; font-family: inherit; }
.btn-block:disabled { opacity: .5; cursor: not-allowed; }
.btn-alt-link {
  display: block; margin-top: 18px;
  font-size: 12px; color: #888;
}

/* ----- Language switcher (privacy page) ----- */
.lang-switch {
  display: flex; justify-content: center; gap: 14px;
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}
.lang-switch a {
  font-size: 13px; font-weight: 700; color: #888;
  padding: 6px 10px; border-radius: 6px;
  text-decoration: none;
}
.lang-switch a:hover { background: #f7f7f7; color: #c0392b; }
.lang-switch a.active { color: #c0392b; background: #fdecea; }

/* ----- Language pill (segmented control with sliding indicator) ----- */
.lang-pill {
  position: relative;
  display: flex;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 4px;
  background: #f3f3f5;
  border-radius: 999px;
}
.lang-pill a {
  position: relative;
  z-index: 1;
  min-width: 58px;
  padding: 7px 16px;
  font-size: 12px; font-weight: 700;
  color: #888; text-align: center; text-decoration: none;
  border-radius: 999px;
  transition: color .25s ease;
}
.lang-pill a:hover { color: #c0392b; text-decoration: none; }
.lang-pill a.active { color: #fff; }
.lang-pill-slider {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / 3);
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(192, 57, 43, .35);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
}
.lang-pill[data-active="fr"] .lang-pill-slider { transform: translateX(0); }
.lang-pill[data-active="nl"] .lang-pill-slider { transform: translateX(100%); }
.lang-pill[data-active="en"] .lang-pill-slider { transform: translateX(200%); }

/* ----- Privacy sections (one per language) ----- */
.section { display: none; }
.section.active { display: block; }

/* ----- Info / data callouts (delete-account page) ----- */
.info-box {
  background: #fff8f8;
  border-left: 4px solid #c0392b;
  padding: 14px 18px;
  margin: 1.5em 0;
  border-radius: 4px;
}
.info-box strong { color: #c0392b; }
.data-list {
  background: #f8f8f8;
  border-radius: 6px;
  padding: 14px 18px 14px 36px;
  margin: 1em 0;
}
.data-list li { margin-bottom: 6px; font-size: 14px; color: #444; }

/* ----- Footer ----- */
.footer {
  color: #bbb; font-size: 11px;
  margin-top: 24px; line-height: 1.6;
  text-align: center;
}
.footer a {
  color: #bbb;
  border-bottom: 1px solid #e8e8e8;
}
.footer a:hover { color: #888; text-decoration: none; }
