.login-page { background: var(--night); min-height: 100vh; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
.side { padding: 40px 56px; display: flex; }
.side-in { position: relative; display: flex; flex-direction: column; width: 100%; }
.side-main { margin: auto 0; padding: 40px 0; }
.side h1 { font-size: clamp(44px, 5vw, 70px); line-height: .98; letter-spacing: -.045em; margin: 0 0 40px; }
.side-foot { color: #9FC9B9; font-size: 14px; }
.bubbles { display: flex; flex-direction: column; gap: 14px; max-width: 470px; }
.bubble.said { background: rgba(255,255,255,.08); color: #E8F5EF; border-radius: 20px 20px 20px 6px; padding: 16px 18px; font-size: 15.5px; line-height: 1.5; font-style: italic; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); animation: rise .8s .2s both; }
.sorted { background: #fff; color: var(--ink); border-radius: 20px; padding: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: rise .8s .7s both; }
.sorted > div { display: flex; align-items: center; gap: 10px; padding: 12px 12px; font-size: 14.5px; }
.sorted > div + div { border-top: 1px solid var(--line); }
.sorted b { min-width: 72px; }
.sorted em { margin-left: auto; font-style: normal; color: var(--ink3); font-size: 13px; white-space: nowrap; }
.sorted .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.pane { background: linear-gradient(180deg, #F3F8F5, var(--paper)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; position: relative; }
.back { position: absolute; top: 28px; left: 32px; color: var(--ink3); font-weight: 500; font-size: 14px; }
.back:hover { color: var(--ink); }
.form-card { width: min(420px, 100%); background: #fff; border-radius: 28px; padding: 40px 36px 30px; box-shadow: 0 30px 80px rgba(8,19,15,.12), 0 0 0 1px rgba(23,147,111,.08); }
.mark.big { width: 56px; height: 56px; border-radius: 17px; margin-bottom: 22px; }
.mark.big svg { width: 34px; height: 34px; }
.form-card h2 { font-size: 30px; }
.hint { color: var(--ink3); margin: 6px 0 26px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin-bottom: 7px; }
.field input { width: 100%; height: 52px; border: 0; outline: 0; border-radius: 14px; padding: 0 16px; font: 500 16px Inter, sans-serif; color: var(--ink); background: #F1F5F2; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s; }
.field input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--green), 0 0 0 5px rgba(23,147,111,.12); }
.pw { position: relative; }
.pw input { padding-right: 50px; }
.eye { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--ink3); display: grid; place-items: center; }
.eye svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.eye:hover { background: rgba(0,0,0,.04); color: var(--ink); }
.err { color: #D23F57; font-size: 14px; min-height: 20px; margin: -4px 0 10px; }
.btn.full { width: 100%; height: 54px; font-size: 16.5px; }
.btn.green.full { background: linear-gradient(135deg, var(--green2), var(--green)); color: #fff; box-shadow: 0 10px 30px rgba(23,147,111,.35); }
.btn.green.full:hover { box-shadow: 0 14px 40px rgba(23,147,111,.45); }
.btn:disabled { opacity: .6; cursor: default; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.small { font-size: 14px; color: var(--ink3); margin-top: 20px; text-align: center; }
.small a { color: var(--strong); font-weight: 600; }
.already p { color: var(--ink2); margin-bottom: 14px; }
.linkish { display: block; margin: 14px auto 6px; background: none; border: 0; color: var(--ink3); font: 500 14px Inter, sans-serif; cursor: pointer; }
.apps { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink3); flex-wrap: wrap; text-align: center; }
.apps .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink3); opacity: .5; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .side { padding: 28px 24px 40px; }
  .side-main { padding: 30px 0 0; }
  .side h1 { font-size: 34px; margin-bottom: 0; }
  .bubbles { display: none; }
  .side-foot { display: none; }
  .pane { padding: 40px 16px 60px; }
  .back { display: none; }
  .form-card { padding: 32px 22px 24px; }
}
