@font-face {
  font-family: "FASEN Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Keep the approved typeface inside the component, independently of Elementor's kit. */
.fca-access,
.fca-access[data-fca-root] :is(h2, p, small, label, a, button, input, span),
.fca-logout,
.fca-logout span {
  font-family: "FASEN Inter", "Segoe UI", Arial, sans-serif !important;
  font-synthesis: none;
}

.fca-access {
  --fca-primary: #3a2955;
  --fca-button-text: #fff;
  --fca-surface: #fff;
  --fca-text: #252331;
  --fca-muted: #666371;
  --fca-border: #e3e1e9;
  --fca-field-background: #fff;
  --fca-field-hover: #fff;
  --fca-radius: 9px;
  box-sizing: border-box;
  /* An explicit preferred width also fixes shrink-to-content shortcode widgets. */
  width: 492px;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 1;
  margin: 20px auto;
  padding: 24px;
  color: var(--fca-text);
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: calc(var(--fca-radius) + 10px);
  box-shadow: 0 12px 38px #2920330c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color-scheme: only light;
}

.elementor-widget-shortcode:has(.fca-access) { width: 100%; min-width: 0; }
.fca-access * { box-sizing: border-box; }
.fca-access [hidden] { display: none !important; }
.fca-access svg { width: 20px; height: 20px; flex-shrink: 0; }
.fca-access button, .fca-access input { font: inherit; letter-spacing: normal; text-transform: none; }
.fca-access button { cursor: pointer; }
.fca-access button:disabled { cursor: wait; opacity: .6; }
.fca-access a { color: var(--fca-text); text-decoration: underline; text-underline-offset: 4px; }
.fca-access :is(button, input, a):focus-visible { outline: 3px solid var(--fca-primary); outline-offset: 3px; }

.fca-access .fca-tabs { display: flex; gap: 4px; padding: 4px; background: color-mix(in srgb, var(--fca-primary) 6%, var(--fca-surface)); border-radius: var(--fca-radius); }
.fca-access .fca-tabs button { flex: 1; min-height: 44px; padding: 9px 12px; background: transparent; border: 0; border-radius: calc(var(--fca-radius) - 3px); color: var(--fca-muted); font-size: 14px; font-weight: 500; }
.fca-access .fca-tabs button[aria-pressed=true] { color: var(--fca-text); background: var(--fca-surface); box-shadow: 0 2px 6px #29203310; }
.fca-access .fca-heading { margin: 20px 0 18px; }
.fca-access .fca-heading h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.2; letter-spacing: -.6px; font-weight: 500; color: var(--fca-text); }
.fca-access .fca-heading p { font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--fca-muted); margin: 0; }
.fca-access form { margin: 0; }
.fca-access .fca-field { margin: 0 0 12px; min-width: 0; }
.fca-access .fca-field > label { display: block; margin: 0 0 6px; font-size: 14px; line-height: 1.5; font-weight: 500; }
.fca-access .fca-input-wrap { position: relative; }
.fca-access .fca-field input { display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; border: 1px solid var(--fca-border); border-radius: var(--fca-radius); color: var(--fca-text); background: var(--fca-field-background); font-size: 16px; line-height: 1.4; font-weight: 400; box-shadow: none; transition: background-color .16s, border-color .16s; }
.fca-access .fca-field input:hover, .fca-access .fca-field input:focus { background: var(--fca-field-hover); }
.fca-access .fca-field input:focus { border-color: var(--fca-primary); }
.fca-access .fca-field input::placeholder { color: var(--fca-muted); opacity: .78; }
.fca-access .fca-field input[type=password], .fca-access .fca-field input[data-fca-password] { padding-right: 52px; }
.fca-access .fca-field small { display: block; margin: 5px 0 0; color: var(--fca-muted); font-size: 13px; line-height: 1.5; }
.fca-access .fca-eye { display: flex; align-items: center; justify-content: center; position: absolute; right: 2px; top: 1px; min-width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--fca-muted); border-radius: var(--fca-radius); }
.fca-access .fca-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fca-access .fca-options { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.fca-access .fca-check { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; font-size: 14px; }
.fca-access input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--fca-primary); flex-shrink: 0; }
.fca-access .fca-link { min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--fca-text); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.fca-access .fca-primary { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: var(--fca-radius); color: var(--fca-button-text); background: var(--fca-primary); font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.4; transition: filter .16s, transform .16s; }
.fca-access .fca-primary:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.fca-access .fca-primary:active { transform: none; }
.fca-access .fca-footer { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--fca-border); }
.fca-access .fca-footer .fca-link, .fca-access .fca-footer a { font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.fca-access .fca-notice { padding: 12px 14px; border-radius: var(--fca-radius); background: color-mix(in srgb, var(--fca-primary) 6%, var(--fca-surface)); color: var(--fca-text); font-size: 15px; line-height: 1.6; margin-bottom: 16px; overflow-wrap: anywhere; }
.fca-access .fca-notice[data-error=true] { border-left: 3px solid #ad2940; }
.fca-access .fca-notice:empty { display: none; }
.fca-access .fca-strength { display: flex; gap: 5px; margin: 8px 0 5px; }
.fca-access .fca-strength span { height: 4px; flex: 1; border-radius: 3px; background: var(--fca-border); }
.fca-access .fca-strength[data-score="1"] span:first-child { background: #ad2940; }
.fca-access .fca-strength[data-score="2"] span:nth-child(-n+2) { background: #9e6800; }
.fca-access .fca-strength[data-score="3"] span { background: #22724d; }
.fca-access .fca-strength-label { font-size: 13px; color: var(--fca-muted); margin: 0 0 12px; }
.fca-access .fca-challenge { min-height: 0; margin: 12px 0; max-width: 100%; }
.fca-access .fca-challenge iframe { max-width: 100%; }
.fca-access .fca-privacy, .fca-access .fca-consent { font-size: 13px; line-height: 1.5; color: var(--fca-muted); margin: 12px 0; }
.fca-access .fca-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fca-access .fca-consent input { margin-right: 8px; }
.fca-access .fca-signed p { margin-bottom: 16px; }

@media(max-width:430px) {
  .fca-access { padding: 20px 18px; margin: 16px auto; }
  .fca-access .fca-name-row { grid-template-columns: 1fr; gap: 0; }
  .fca-access .fca-heading h2 { font-size: 24px; }
  .fca-access .fca-footer { gap: 3px; }
}
@media(prefers-reduced-motion:reduce) {
  .fca-access * { transition: none !important; }
  .fca-access .fca-primary:hover { transform: none; }
}
.fca-logout { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 20px; border-radius: var(--fca-radius, 9px); background: var(--fca-primary, #3a2955); color: var(--fca-button-text, #fff); font-size: 16px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.fca-logout:hover { filter: brightness(1.1); color: var(--fca-button-text, #fff); }
.fca-logout:focus-visible { outline: 3px solid var(--fca-primary, #3a2955); outline-offset: 3px; }
.fca-logout svg { width: 18px; height: 18px; flex-shrink: 0; }
