/* TAANASH auth modal — all selectors scoped to .tnsh-auth */
.tnsh-auth{--tn-maroon:#6e1f2b;--tn-maroon-dk:#4f1520;--tn-cream:#faf5ec;--tn-sand:#e9dcc5;--tn-ink:#2b2220;--tn-err:#a4262c;
  position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:16px;
  background:rgba(43,34,32,.55);font-family:inherit;color:var(--tn-ink)}
.tnsh-auth.is-open{display:flex}
.tnsh-auth *{box-sizing:border-box}
.tnsh-auth__panel{position:relative;width:100%;max-width:420px;max-height:calc(100vh - 32px);overflow:auto;background:var(--tn-cream);
  border-top:4px solid var(--tn-maroon);box-shadow:0 20px 60px rgba(0,0,0,.35);padding:28px 28px 24px}
.tnsh-auth__close{position:absolute;top:8px;right:10px;border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:var(--tn-ink);padding:6px 10px}
.tnsh-auth__brand{text-align:center;margin-bottom:6px}
.tnsh-auth__brand img{max-height:38px;width:auto}
.tnsh-auth__title{margin:6px 0 16px;text-align:center;font-size:20px;letter-spacing:.04em;text-transform:uppercase}
.tnsh-auth__tabs{display:flex;border-bottom:1px solid var(--tn-sand);margin-bottom:18px}
.tnsh-auth__tab{flex:1;border:0;background:none;padding:10px 4px;cursor:pointer;font:inherit;font-weight:600;color:#7a6a64;border-bottom:2px solid transparent}
.tnsh-auth__tab[aria-selected="true"]{color:var(--tn-maroon);border-bottom-color:var(--tn-maroon)}
.tnsh-auth label{display:block;font-size:13px;margin:0 0 4px}
.tnsh-auth__field{margin-bottom:14px}
.tnsh-auth input[type=email],.tnsh-auth input[type=password],.tnsh-auth input[type=text]{width:100%;padding:11px 12px;border:1px solid #cdbfa8;background:#fff;font:inherit;border-radius:0}
.tnsh-auth input:focus-visible,.tnsh-auth button:focus-visible,.tnsh-auth a:focus-visible{outline:2px solid var(--tn-maroon);outline-offset:2px}
.tnsh-auth__pw{position:relative}
.tnsh-auth__pw input{padding-right:64px}
.tnsh-auth__toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--tn-maroon);cursor:pointer;font-size:12px;padding:8px}
.tnsh-auth__btn{display:block;width:100%;padding:12px;border:0;background:var(--tn-maroon);color:#fff;font:inherit;font-weight:600;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;text-align:center;text-decoration:none}
.tnsh-auth__btn:hover{background:var(--tn-maroon-dk);color:#fff}
.tnsh-auth__btn[disabled]{opacity:.6;cursor:wait}
.tnsh-auth__link{display:block;text-align:center;margin-top:12px;font-size:13px;color:var(--tn-maroon)}
.tnsh-auth__err{color:var(--tn-err);font-size:13px;margin:-6px 0 12px;min-height:0}
.tnsh-auth__note{font-size:13px;line-height:1.5;margin:0 0 16px}
.tnsh-auth [hidden]{display:none!important}
body.tnsh-auth-lock{overflow:hidden}
@media (max-width:480px){.tnsh-auth{padding:0;align-items:flex-end}.tnsh-auth__panel{max-width:none;max-height:92vh;padding:22px 18px}}
@media (prefers-reduced-motion:no-preference){.tnsh-auth.is-open .tnsh-auth__panel{animation:tnshIn .18s ease-out}@keyframes tnshIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}

/* Registration page: hide the optional birthdate row (fallback if the
   "Ask for birth date" setting in Back Office cannot be switched off). */
#registration .form-group:has(input[name="birthday"]){display:none}
