/* ✦ 4.2 log-in & sign-up pages: brand side + clean form */
body.ab { margin: 0; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: #f4f7fa; font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Roboto, Arial, sans-serif; color: #14232c; }
body.ab.wideform { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ab-side { position: relative; overflow: hidden; color: #fff; background: linear-gradient(150deg, #0b3d50 0%, #0e4d64 38%, #3f3a9c 78%, #6d3fb0 100%); display: flex; }
.ab-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.ab-glow.g1 { width: 420px; height: 420px; background: #f5a524; left: -140px; bottom: -160px; opacity: .35; }
.ab-glow.g2 { width: 520px; height: 520px; background: #22d3ee; right: -220px; top: -220px; opacity: .25; }
.ab-in { position: relative; z-index: 1; padding: 48px 56px; display: flex; flex-direction: column; gap: 26px; max-width: 640px; margin: auto; width: 100%; box-sizing: border-box; }
.ab-brand { display: flex; align-items: center; gap: 14px; }
.ab-brand img { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 16px; padding: 5px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ab-mono { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, #f5a524, #f3c25a); color: #2a1d02; font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.ab-brand b { display: block; font-size: 18px; letter-spacing: -.01em; }
.ab-brand small { display: block; opacity: .75; font-size: 13px; margin-top: 2px; }
.ab-side h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.ab-side h2 span { background: linear-gradient(90deg, #fcd34d, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ab-feat li { display: flex; gap: 14px; align-items: flex-start; }
.ab-feat i { font-style: normal; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 19px; }
.ab-feat b { display: block; font-size: 15px; }
.ab-feat span { display: block; font-size: 13.5px; opacity: .78; margin-top: 2px; line-height: 1.45; }
.ab-offer { position: relative; border-radius: 18px; overflow: hidden; padding: 18px 20px; min-height: 96px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
  background: linear-gradient(90deg, rgba(8, 20, 30, .85), rgba(8, 20, 30, .35)), var(--img, linear-gradient(135deg, #f59e0b, #ef4444)) center / cover; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.ab-offer span { align-self: flex-start; background: #f5a524; color: #2a1d02; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.ab-offer b { font-size: 16.5px; line-height: 1.3; }
.ab-offer small { opacity: .85; font-size: 12.5px; }
.ab-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-cities span { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); white-space: nowrap; }
.ab-help { font-size: 13px; opacity: .85; }
.ab-help a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }

.ab-main { display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.ab-card { width: 100%; max-width: 420px; }
body.ab.wideform .ab-card { max-width: 720px; }
.ab-card h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: #0f2a36; }
.ab-card .ab-sub { margin: 6px 0 24px; color: #5b6b75; font-size: 14.5px; line-height: 1.5; }
.ab-tabs { display: inline-flex; background: #e6edf2; border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.ab-tabs a { padding: 8px 16px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: #4a5a63; text-decoration: none; }
.ab-tabs a.on { background: #fff; color: #0e4d64; box-shadow: 0 2px 8px rgba(15, 42, 54, .12); }
.ab-form { display: grid; gap: 16px; }
.ab-form .ab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ab-field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: #34454f; }
.ab-field .ab-in2 { position: relative; display: flex; align-items: center; }
.ab-field .ab-in2 > i { position: absolute; left: 14px; font-style: normal; font-size: 15px; opacity: .65; pointer-events: none; }
.ab-field input { width: 100%; box-sizing: border-box; height: 50px; border: 1.5px solid #d5dee4; border-radius: 13px; background: #fff; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 500; color: #14232c; transition: border-color .15s, box-shadow .15s; }
.ab-field .ab-in2 > i ~ input, .ab-field .ab-in2 > i + input { padding-left: 42px; }
.ab-field input:focus { outline: none; border-color: #0e7490; box-shadow: 0 0 0 4px rgba(14, 116, 144, .14); }
.ab-eye { position: absolute; right: 8px; border: 0; background: transparent; cursor: pointer; font-size: 17px; width: 38px; height: 38px; border-radius: 10px; }
.ab-eye:hover { background: #eef3f6; }
.ab-go { height: 52px; border: 0; border-radius: 13px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800; color: #fff; letter-spacing: .01em;
  background: linear-gradient(135deg, #0e4d64, #13698a 55%, #4f46e5); box-shadow: 0 12px 26px -10px rgba(14, 77, 100, .7); transition: transform .12s, box-shadow .12s, filter .12s; }
.ab-go:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(14, 77, 100, .8); }
.ab-go.busy { opacity: .75; pointer-events: none; }
.ab-alt { display: flex; align-items: center; gap: 12px; color: #8696a0; font-size: 12.5px; margin: 4px 0; }
.ab-alt::before, .ab-alt::after { content: ""; flex: 1; height: 1px; background: #dde5ea; }
.ab-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 13px; border: 1.5px solid #cfdbe2; background: #fff; color: #0e4d64; font-weight: 800; font-size: 14.5px; text-decoration: none; }
.ab-ghost:hover { border-color: #0e4d64; background: #f3f8fa; }
.ab-foot { margin-top: 22px; font-size: 13px; color: #6b7b85; text-align: center; }
.ab-foot a { color: #0e4d64; font-weight: 700; }
.ab-msg { padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; margin-bottom: 4px; }
.ab-msg.err { background: #fdecec; color: #9b1c1c; border: 1px solid #f7caca; }
.ab-msg.warn { background: #fff6e0; color: #7a5410; border: 1px solid #f3dca6; }
.ab-msg.ok { background: #e8f7ee; color: #1e6b3d; border: 1px solid #bfe6cd; }
.ab-trust { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 12px; color: #7d8d96; }

@media (max-width: 920px) {
  body.ab, body.ab.wideform { grid-template-columns: 1fr; }
  .ab-in { padding: 26px 22px 24px; gap: 14px; }
  .ab-side h2 { font-size: 22px; }
  .ab-feat, .ab-cities, .ab-offer { display: none; }
  .ab-help { font-size: 12px; }
  .ab-main { padding: 26px 18px 40px; align-items: flex-start; }
  .ab-card h1 { font-size: 24px; }
}
@media (max-width: 560px) { .ab-form .ab-grid { grid-template-columns: 1fr; } }
