/* Rysa Store auth banner overlay v2. Scoped to the login/register dialog only. */
.rysa-auth-overlay[hidden] { display:none !important; }
.rysa-auth-overlay {
  position:fixed; inset:0; z-index:12000; display:flex; align-items:center; justify-content:center;
  padding:20px; background:rgba(3,5,18,.84); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.rysa-auth-dialog {
  position:relative; width:min(1160px,calc(100vw - 40px)); height:min(740px,calc(100dvh - 40px)); max-height:none;
  overflow:hidden; overscroll-behavior:contain; padding:0; border-radius:24px; box-sizing:border-box;
  color:#f5f7ff; background:linear-gradient(145deg,#101831 0%,#080e22 100%);
  border:1px solid rgba(92,182,246,.58); box-shadow:0 28px 90px rgba(0,0,0,.58),0 0 38px rgba(48,145,220,.13);
}
.rysa-auth-layout { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr); width:100%; height:100%; min-height:0; }

/* Left/banner panel: artwork fills the panel and the copy sits directly over it. */
.rysa-auth-hero {
  position:relative; display:block; min-width:0; min-height:0; height:100%; overflow:hidden; isolation:isolate;
  background:#101b38;
}
.rysa-auth-banner-image {
  position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%;
  object-fit:cover; object-position:center 47%; background:#aaa9ef;
  filter:saturate(1.04) brightness(.94);
}
.rysa-auth-hero::after {
  content:""; position:absolute; z-index:1; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg,rgba(5,10,27,.02) 0%,rgba(5,10,27,.02) 30%,rgba(5,11,29,.22) 48%,rgba(5,12,31,.82) 72%,rgba(5,12,31,.97) 100%),
    linear-gradient(90deg,rgba(5,12,31,.20) 0%,rgba(5,12,31,.02) 78%);
}
.rysa-auth-hero-copy {
  position:absolute; z-index:2; left:0; right:0; bottom:0; flex:none; min-height:0;
  padding:30px 30px 34px; display:flex; flex-direction:column; justify-content:flex-end;
  color:#f7f9ff; background:transparent; border:0; text-shadow:0 2px 12px rgba(0,0,0,.68);
}
.rysa-auth-hero-eyebrow {
  display:inline-flex; align-items:center; gap:9px; margin:0 0 10px; color:#9edcff;
  font-size:11px; line-height:1.3; font-weight:900; letter-spacing:.17em;
  text-shadow:0 2px 10px rgba(0,0,0,.9);
}
.rysa-auth-hero-eyebrow::before {
  content:""; width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#45c2ff;
  box-shadow:0 0 14px rgba(69,194,255,.9),0 0 26px rgba(69,194,255,.55);
}
.rysa-auth-hero-copy h2 {
  margin:0 0 17px; max-width:540px; color:#fff; font-size:clamp(26px,2.55vw,36px);
  line-height:1.1; font-weight:900; letter-spacing:-.035em; text-align:left;
  text-shadow:0 3px 18px rgba(0,0,0,.88),0 1px 3px rgba(0,0,0,.9);
}
.rysa-auth-features { display:grid; gap:11px; margin:0; padding:0; list-style:none; }
.rysa-auth-features li {
  display:flex; align-items:center; gap:10px; min-width:0; color:#f0f6ff;
  font-size:14px; line-height:1.4; font-weight:750;
  text-shadow:0 2px 10px rgba(0,0,0,.95);
}
.rysa-auth-feature-icon {
  flex:0 0 27px; width:27px; height:27px; display:grid; place-items:center; border-radius:9px;
  color:#fff; font-size:14px; font-weight:950; background:linear-gradient(145deg,#299ff2,#155ecb);
  border:1px solid rgba(188,231,255,.35); box-shadow:0 4px 15px rgba(0,0,0,.3),0 0 16px rgba(42,147,245,.28);
  text-shadow:none;
}

/* Right/form panel. Authentication markup and actions are unchanged. */
.rysa-auth-main {
  position:relative; display:flex; flex-direction:column; justify-content:center; min-width:0; min-height:0;
  overflow-y:auto; overscroll-behavior:contain; padding:64px 34px 30px; box-sizing:border-box;
  background:radial-gradient(ellipse at 85% 0%,rgba(34,89,157,.16),transparent 42%),linear-gradient(155deg,#111831,#090f23 72%);
}
.rysa-auth-close {
  z-index:20; position:absolute; top:14px; right:14px; width:42px; height:42px; display:grid; place-items:center;
  border:1px solid #35516e; border-radius:13px; color:#f8faff; background:rgba(19,31,57,.94);
  cursor:pointer; font-size:26px; line-height:1;
}
.rysa-auth-close:hover { border-color:#78c7ff; background:#1a3154; }
.rysa-auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:5px; margin:0 0 22px; border:1px solid #2d4865; border-radius:15px; background:#080f22; }
.rysa-auth-tab {
  min-width:0; min-height:48px; border:0; border-radius:11px; color:#b9c6df; background:transparent;
  font:inherit; font-size:15px; font-weight:800; cursor:pointer; transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.rysa-auth-tab[aria-selected="true"] { color:#fff; background:linear-gradient(105deg,#299bed,#216cf0); box-shadow:0 6px 18px rgba(40,137,232,.25); }
.rysa-auth-status { display:none; margin:0 0 13px; padding:10px 12px; border:1px solid transparent; border-radius:11px; font-size:13px; line-height:1.45; overflow-wrap:anywhere; }
.rysa-auth-status.is-visible { display:block; }
.rysa-auth-status.is-error { color:#ffd0d8; background:#431927; border-color:#773047; }
.rysa-auth-status.is-success { color:#c4ffe6; background:#10372f; border-color:#1d6d58; }
.rysa-auth-form label { display:block; margin:14px 0 7px; color:#d9e3f8; font-size:14px; font-weight:750; }
.rysa-auth-form input {
  display:block; width:100%; min-width:0; min-height:50px; padding:12px 15px; box-sizing:border-box;
  border:1px solid #344666; border-radius:13px; outline:none; background:#070d1f; color:#f8faff;
  font:inherit; font-size:15px; transition:border-color .18s ease,box-shadow .18s ease;
}
.rysa-auth-form input:focus { border-color:#64bfff; box-shadow:0 0 0 3px rgba(72,171,242,.16); }
.rysa-auth-submit {
  width:100%; min-height:54px; margin-top:20px; padding:13px 16px; border:0; border-radius:13px;
  color:#fff; background:linear-gradient(105deg,#2f9ef2,#2475ef); font:inherit; font-size:15px;
  font-weight:900; cursor:pointer; box-shadow:0 7px 18px rgba(38,123,224,.2);
}
.rysa-auth-submit:disabled { opacity:.65; cursor:wait; }
.rysa-auth-switch { margin:17px 0 0; text-align:center; color:#aebbd6; font-size:14px; line-height:1.5; }
.rysa-auth-switch button { border:0; padding:0; color:#a8ddff; background:none; font:inherit; font-weight:850; cursor:pointer; }
.rysa-auth-divider { display:flex; align-items:center; gap:11px; margin:20px 0 13px; color:#8999b8; font-size:12px; font-weight:750; letter-spacing:.08em; }
.rysa-auth-divider::before,.rysa-auth-divider::after { content:""; height:1px; flex:1; background:#2d3b58; }
.rysa-auth-google-area { position:relative; display:flex; justify-content:center; width:100%; }
.rysa-auth-google-custom {
  width:100%; min-height:54px; margin:0; padding:13px 16px; display:flex; align-items:center; justify-content:center; gap:12px;
  border:1px solid rgba(151,170,255,.45); border-radius:14px; color:#fff; background:rgba(255,255,255,.035);
  font-family:Arial,sans-serif; font-size:15px; font-weight:700; cursor:pointer;
  transition:background .2s,border-color .2s,box-shadow .2s,transform .2s;
}
.rysa-auth-google-custom:hover { background:rgba(92,191,255,.12); border-color:#7bcdff; box-shadow:0 0 18px rgba(83,107,255,.2); transform:translateY(-1px); }
.rysa-auth-google-custom:focus-visible,.rysa-auth-tab:focus-visible,.rysa-auth-close:focus-visible { outline:2px solid #8bcdfa; outline-offset:3px; }
.rysa-auth-google-custom img { width:21px; height:21px; flex-shrink:0; }
.rysa-auth-google-signin { display:none !important; }
body.rysa-auth-open { overflow:hidden; }

@media (max-width:760px) {
  .rysa-auth-overlay { align-items:center; padding:9px; overflow-y:auto; }
  .rysa-auth-dialog {
    width:min(100%,540px); height:auto; max-height:94dvh; overflow-y:auto; overflow-x:hidden;
    border-radius:20px;
  }
  .rysa-auth-layout { display:flex; flex-direction:column; height:auto; min-height:0; }
  /* Compact mobile hero: close to a wide 16:9 banner instead of a tall panel. */
  .rysa-auth-hero { flex:0 0 auto; width:100%; height:clamp(195px,51vw,220px); }
  .rysa-auth-banner-image { width:100%; height:100%; aspect-ratio:auto; object-position:center 34%; }
  .rysa-auth-hero::after {
    background:
      linear-gradient(180deg,rgba(5,10,27,.00) 0%,rgba(5,10,27,.02) 20%,rgba(5,11,29,.18) 40%,rgba(5,12,31,.82) 68%,rgba(5,12,31,.98) 100%),
      linear-gradient(90deg,rgba(5,12,31,.12),rgba(5,12,31,0) 85%);
  }
  .rysa-auth-hero-copy { left:0; right:0; bottom:0; padding:10px 16px 13px; }
  .rysa-auth-hero-eyebrow { margin-bottom:5px; font-size:9px; letter-spacing:.15em; }
  .rysa-auth-hero-eyebrow::before { width:7px; height:7px; flex-basis:7px; }
  .rysa-auth-hero-copy h2 { max-width:100%; margin-bottom:7px; font-size:clamp(19px,5vw,22px); line-height:1.04; }
  .rysa-auth-features { gap:5px; }
  .rysa-auth-features li { gap:7px; font-size:10.5px; line-height:1.18; }
  .rysa-auth-feature-icon { flex-basis:19px; width:19px; height:19px; border-radius:6px; font-size:10px; }
  .rysa-auth-main { flex:0 0 auto; overflow:visible; padding:18px 19px 22px; }
  .rysa-auth-close { top:11px; right:11px; width:38px; height:38px; border-radius:11px; background:rgba(9,17,37,.9); }
  .rysa-auth-tabs { margin-bottom:14px; }
  .rysa-auth-tab { min-height:44px; font-size:14px; }
  .rysa-auth-form label { margin-top:11px; font-size:13px; }
  .rysa-auth-form input { min-height:47px; font-size:14px; }
  .rysa-auth-submit,.rysa-auth-google-custom { min-height:50px; }
  .rysa-auth-divider { margin:16px 0 11px; }
}
@media (max-width:380px) {
  .rysa-auth-hero { height:195px; }
  .rysa-auth-hero-copy { padding:8px 13px 11px; }
  .rysa-auth-main { padding-left:15px; padding-right:15px; }
  .rysa-auth-hero-copy h2 { font-size:19px; }
  .rysa-auth-features li { font-size:10px; }
  .rysa-auth-feature-icon { flex-basis:18px; width:18px; height:18px; }
}
@media (min-width:761px) and (max-height:720px) {
  .rysa-auth-dialog { height:calc(100dvh - 24px); }
  .rysa-auth-hero-copy { padding:20px 24px 24px; }
  .rysa-auth-hero-copy h2 { margin-bottom:12px; font-size:clamp(23px,2.2vw,31px); }
  .rysa-auth-features { gap:8px; }
  .rysa-auth-features li { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .rysa-auth-tab,.rysa-auth-form input,.rysa-auth-google-custom { transition:none !important; }
}
