.coral-login-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 12% 16%, rgba(201,166,63,.12), transparent 32%),
              radial-gradient(circle at 82% 78%, rgba(47,117,112,.12), transparent 36%),
              #0b1012;
  position: relative;
}

.login-ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  opacity: .55;
}
.login-ambient-one { width: 420px; height: 420px; left: -180px; top: -160px; border: 1px solid rgba(201,166,63,.18); }
.login-ambient-two { width: 520px; height: 520px; right: -260px; bottom: -240px; border: 1px solid rgba(109,175,165,.14); }

.premium-login-shell {
  width: min(1120px, calc(100vw - 48px));
  min-height: 690px;
  margin: 24px auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  background: rgba(16,22,24,.86);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0,0,0,.42);
}
.login-showcase {
  position: relative;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(155deg, rgba(16,27,29,.96), rgba(15,20,22,.9)),
    radial-gradient(circle at 30% 20%, rgba(201,166,63,.15), transparent 45%);
  border-right: 1px solid rgba(255,255,255,.06);
}
.login-showcase::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(201,166,63,.14);
  border-radius: 50%;
  right: -150px;
  top: 120px;
  box-shadow: 0 0 0 44px rgba(201,166,63,.025), 0 0 0 88px rgba(201,166,63,.018);
}
.showcase-brand { display: flex; align-items: center; gap: 16px; position: relative; z-index: 2; }
.coral-logo-large, .coral-logo-small { display: flex; align-items: flex-end; gap: 4px; transform: rotate(-7deg); }
.coral-logo-large span, .coral-logo-small span { display: block; border-radius: 999px 999px 5px 5px; background: linear-gradient(180deg,#ead27c,#b68b28); }
.coral-logo-large span:nth-child(1) { width: 7px; height: 28px; }
.coral-logo-large span:nth-child(2) { width: 8px; height: 40px; }
.coral-logo-large span:nth-child(3) { width: 7px; height: 22px; }
.showcase-wordmark { font-size: 1.55rem; font-weight: 900; letter-spacing: .18em; color: #f5e7b1; }
.showcase-tagline { margin-top: 3px; color: #8f9b9c; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.showcase-copy { max-width: 520px; position: relative; z-index: 2; margin: auto 0; }
.showcase-eyebrow, .login-kicker { color: #d6b857; font-size: .69rem; letter-spacing: .14em; font-weight: 800; }
.showcase-copy h1 { font-size: clamp(2.35rem, 4vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; margin: 18px 0 22px; max-width: 600px; }
.showcase-copy p { color: #9ba6a7; font-size: 1rem; line-height: 1.75; max-width: 500px; }
.showcase-status { display: flex; align-items: center; gap: 10px; color: #b9c2c3; font-size: .8rem; position: relative; z-index: 2; }
.status-pulse { width: 9px; height: 9px; border-radius: 50%; background: #79c3a0; box-shadow: 0 0 0 6px rgba(121,195,160,.09); }
.showcase-footer { position: absolute; bottom: 48px; right: 48px; color: #5f696a; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.login-panel { position: relative; padding: 34px 44px 28px; display: flex; flex-direction: column; background: rgba(13,18,20,.93); }
.login-panel-top { min-height: 44px; display: flex; justify-content: flex-end; align-items: center; }
.mobile-brand { display: none; align-items: center; gap: 10px; letter-spacing: .12em; color: #ead27c; }
.coral-logo-small span:nth-child(1) { width: 4px; height: 16px; }
.coral-logo-small span:nth-child(2) { width: 5px; height: 23px; }
.coral-logo-small span:nth-child(3) { width: 4px; height: 13px; }
.login-language-btn { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); color: #c7d0d1; border-radius: 999px; padding: 8px 13px; cursor: pointer; font-size: .78rem; }
.login-language-btn:hover { border-color: rgba(201,166,63,.5); color: #f5e7b1; }
.login-form-wrap { width: 100%; max-width: 380px; margin: auto; }
.login-heading { margin-bottom: 30px; }
.login-heading h2 { font-size: 2rem; margin: 10px 0 8px; letter-spacing: -.03em; }
.login-heading p { margin: 0; color: #7f8a8b; font-size: .9rem; }

.premium-field-label { margin: 14px 0 7px; color: #b6c0c1; font-size: .75rem; font-weight: 600; }
.premium-input-wrap { position: relative; }
.premium-input-wrap input { height: 52px; padding: 0 52px 0 44px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.085); font-size: .95rem; outline: none; transition: border-color .16s, box-shadow .16s, background .16s; }
.premium-input-wrap input:focus { border-color: rgba(201,166,63,.7); box-shadow: 0 0 0 4px rgba(201,166,63,.08); background: rgba(255,255,255,.05); }
.input-icon { position: absolute; z-index: 2; left: 16px; top: 50%; transform: translateY(-50%); color: #677273; font-size: .88rem; pointer-events: none; }
.pin-visibility { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #aeb8b9; padding: 8px; cursor: pointer; font-size: .75rem; }
.pin-visibility:hover { color: #ead27c; }
.premium-login-btn { width: 100%; height: 52px; margin-top: 22px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; color: #151206; background: linear-gradient(135deg,#e1c465,#b88f2c); font-size: .9rem; font-weight: 800; cursor: pointer; box-shadow: 0 12px 30px rgba(185,142,43,.15); transition: transform .16s, box-shadow .16s; }
.premium-login-btn:hover { transform: translateY(-1px); box-shadow: 0 15px 34px rgba(185,142,43,.22); }
.premium-login-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.premium-login-error { text-align: left; min-height: 22px; margin: 9px 2px 0; }
.premium-biometric .biometric-btn { border-radius: 12px; min-height: 46px; }
.secure-note { margin-top: 30px; padding: 13px 15px; display: flex; gap: 11px; align-items: center; border-radius: 14px; border: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.02); }
.secure-lock { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #d9bd60; background: rgba(201,166,63,.08); }
.secure-note strong, .secure-note small { display: block; }
.secure-note strong { font-size: .76rem; color: #cbd3d3; }
.secure-note small { margin-top: 2px; font-size: .68rem; color: #667173; }
.login-panel-footer { text-align: center; font-size: .65rem; color: #505a5b; letter-spacing: .04em; }

body.rtl .login-showcase { border-right: 0; border-left: 1px solid rgba(255,255,255,.06); }
body.rtl .showcase-footer { right: auto; left: 48px; }
body.rtl .premium-input-wrap input { padding: 0 44px 0 52px; }
body.rtl .input-icon { left: auto; right: 16px; }
body.rtl .pin-visibility { right: auto; left: 10px; }
body.rtl .premium-login-error { text-align: right; }

@media (max-width: 820px) {
  .coral-login-page { background: #0b1012; }
  .premium-login-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; grid-template-columns: 1fr; box-shadow: none; }
  .login-showcase { display: none; }
  .login-panel { min-height: 100vh; padding: max(24px, env(safe-area-inset-top)) 24px max(22px, env(safe-area-inset-bottom)); }
  .login-panel-top { justify-content: space-between; }
  .mobile-brand { display: flex; }
  .login-form-wrap { max-width: 430px; }
  .login-heading h2 { font-size: 2.15rem; }
  .login-panel-footer { margin-top: 24px; }
}

@media (max-width: 420px) {
  .login-panel { padding-left: 18px; padding-right: 18px; }
  .login-heading { margin-bottom: 24px; }
  .premium-input-wrap input, .premium-login-btn { height: 54px; }
}
