/* BizAuto · UI v3.3 – keeps the blue-glass bubble motion; adds mobile fixes and the animated login. */

/* ---------- small line icons (log out) ---------- */
.lic { flex: 0 0 auto; }
.sidebar-foot .logout { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- mobile: sidebar fits the real screen, log out always visible ---------- */
@media (max-width: 820px) {
  .sidebar { height: 100vh; height: 100dvh; max-height: 100dvh; display: flex; flex-direction: column; overflow: hidden;
    padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .sidebar nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .sidebar-foot { flex: 0 0 auto; margin-top: 8px; padding-top: 10px; }
  .sidebar-foot .who { margin-bottom: 6px; }
  .sidebar-foot .logout { padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .18); opacity: 1; }
  .top-logout { display: inline-flex !important; }
}
.top-logout { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: var(--ink, #0b1b3f);
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(11, 27, 63, .08); margin-left: 6px; flex: 0 0 auto;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 4px 12px rgba(11, 27, 63, .08); }
.top-logout:active { transform: scale(.94); }

/* ================= login / sign-up: colourful, animated ================= */
body.auth-body.ui-auth { margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  place-items: stretch; align-items: stretch; background: #f5f7ff; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #0f172a; overflow-x: hidden; }
.ui-auth .ba-orb { display: none; }

/* left: moving gradient mesh */
.ui-auth-side { position: relative; overflow: hidden; isolation: isolate; padding: 44px 56px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 100vh; min-height: 100dvh; box-sizing: border-box; background: linear-gradient(135deg, #312e81 0%, #1d4ed8 38%, #0891b2 72%, #7c3aed 100%);
  background-size: 220% 220%; animation: ua-shift 16s ease-in-out infinite alternate; }
@keyframes ua-shift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.ui-blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .75; z-index: -1; will-change: transform; }
.ui-blob.b1 { width: 420px; height: 420px; left: -120px; top: -120px; background: radial-gradient(circle at 30% 30%, #f472b6, transparent 65%); animation: ua-b1 14s ease-in-out infinite alternate; }
.ui-blob.b2 { width: 480px; height: 480px; right: -160px; top: 22%; background: radial-gradient(circle at 50% 50%, #22d3ee, transparent 65%); animation: ua-b2 18s ease-in-out infinite alternate; }
.ui-blob.b3 { width: 380px; height: 380px; left: 18%; bottom: -160px; background: radial-gradient(circle at 50% 50%, #a78bfa, transparent 65%); animation: ua-b3 20s ease-in-out infinite alternate; }
.ui-blob.b4 { width: 260px; height: 260px; right: 18%; bottom: 14%; background: radial-gradient(circle, #fbbf24, transparent 65%); opacity: .45; animation: ua-b1 22s ease-in-out infinite alternate-reverse; }
@keyframes ua-b1 { to { transform: translate(120px, 90px) scale(1.15); } }
@keyframes ua-b2 { to { transform: translate(-110px, 70px) scale(.9); } }
@keyframes ua-b3 { to { transform: translate(90px, -110px) scale(1.12); } }
.ui-auth-side::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); }

.ui-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -.01em; }
.ui-brand img { width: 44px; height: 44px; border-radius: 13px; background: #fff; padding: 6px; box-sizing: border-box; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); animation: ua-float 6s ease-in-out infinite; }
@keyframes ua-float { 50% { transform: translateY(-5px) rotate(-3deg); } }
.ui-auth .ui-auth-side .ui-brand, .ui-auth .ui-auth-side .ui-brand:hover { color: #fff; text-decoration: none; }
.ui-auth-side h1 { color: #fff; font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 2.8vw, 2.9rem); line-height: 1.1; margin: 0 0 14px; font-weight: 800; letter-spacing: -.025em; max-width: 540px; }
.ui-auth-side h1 .grad { background: linear-gradient(90deg, #fde68a, #f9a8d4, #a5f3fc, #fde68a); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ua-text 7s linear infinite; }
@keyframes ua-text { to { background-position: 300% 0; } }
.ui-auth-side p.lead { margin: 0 0 24px; color: rgba(255, 255, 255, .86); font-size: 1.05rem; line-height: 1.6; max-width: 480px; }

/* feature chips */
.ui-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 470px; }
.ui-points li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; font-size: .95rem; color: rgba(255, 255, 255, .95); line-height: 1.4;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s; }
.ui-points li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .18); }
.ui-points .fi { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 14px rgba(0, 0, 0, .18); }
.ui-points .fi.c1 { background: linear-gradient(140deg, #34d399, #059669); }
.ui-points .fi.c2 { background: linear-gradient(140deg, #fde047, #f59e0b); }
.ui-points .fi.c3 { background: linear-gradient(140deg, #f9a8d4, #db2777); }
.ui-points .fi.c4 { background: linear-gradient(140deg, #a5b4fc, #6d28d9); }
.ui-points b { color: #fff; font-weight: 700; }

/* floating "live" cards */
.ui-float-cards { position: relative; height: 0; }
.ui-fcard { position: absolute; right: -10px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: #0f172a; background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .28); font-size: .82rem; font-weight: 600; white-space: nowrap; animation: ua-bob 6s ease-in-out infinite; }
.ui-fcard small { display: block; color: #64748b; font-weight: 500; }
.ui-fcard .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
.ui-fcard.f1 { top: -330px; } .ui-fcard.f1 .dot { background: #fef3c7; }
.ui-fcard.f2 { top: -190px; right: 40px; animation-delay: -3s; } .ui-fcard.f2 .dot { background: #dcfce7; }
@keyframes ua-bob { 50% { transform: translateY(-10px); } }
.ui-trust { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: rgba(255, 255, 255, .82); flex-wrap: wrap; }
.ui-trust .stars { color: #fde68a; letter-spacing: 2px; }

/* staggered entrance */
.ua-in { opacity: 0; animation: ua-rise .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.ua-d1 { animation-delay: .05s; } .ua-d2 { animation-delay: .15s; } .ua-d3 { animation-delay: .25s; } .ua-d4 { animation-delay: .35s; }
.ua-d5 { animation-delay: .45s; } .ua-d6 { animation-delay: .55s; } .ua-d7 { animation-delay: .65s; } .ua-d8 { animation-delay: .75s; }
@keyframes ua-rise { from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* right: form */
.ui-auth-main { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 24px; overflow: hidden;
  background: radial-gradient(600px 400px at 100% 0%, rgba(99, 102, 241, .12), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(14, 165, 233, .12), transparent 60%), #f7f8ff; }
.ui-auth-card { position: relative; width: 100%; max-width: 420px; padding: 34px 32px; border-radius: 26px; background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(30, 41, 99, .14), 0 2px 6px rgba(30, 41, 99, .06); animation: ua-card .9s cubic-bezier(.2, .9, .2, 1) both; }
.ui-auth-card::before { content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1px; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, #6366f1, #06b6d4, #ec4899, #6366f1); background-size: 300% 300%; animation: ua-shift 8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; }
@keyframes ua-card { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.ui-auth-card .ui-brand { color: #0f172a; display: none; margin-bottom: 22px; }
.ui-auth-card .ui-brand img { background: linear-gradient(140deg, #eef2ff, #e0f2fe); box-shadow: 0 6px 16px rgba(37, 99, 235, .18); }
.ui-auth-card h2 { font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-size: 1.9rem; margin: 0 0 6px; font-weight: 800; letter-spacing: -.025em; color: #0f172a; }
.ui-auth-card h2 .wave { display: inline-block; transform-origin: 70% 70%; animation: ua-wave 2.4s ease-in-out 1s 2; }
@keyframes ua-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.ui-auth-card .muted { color: #64748b; }
.ui-auth-card > p.muted:first-of-type { margin: 0 0 22px; }

/* segmented control with sliding pill */
.ui-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; background: #eef1f8; border-radius: 14px; margin-bottom: 20px; isolation: isolate; }
.ui-seg::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 10px; z-index: -1;
  background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 8px 18px rgba(79, 70, 229, .35); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.ui-seg.m-email::before { transform: translateX(100%); }
.ui-seg a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: #475569; text-decoration: none; transition: color .3s; }
.ui-seg a svg { width: 17px; height: 17px; }
.ui-seg a.on { color: #fff; }
.ui-seg a:hover { text-decoration: none; }
.ui-seg a:not(.on):hover { color: #0f172a; }

/* fields */
.ui-auth .form { display: grid; gap: 14px; }
.ui-auth .form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; color: #334155; }
.ui-auth .form label.inline { display: flex; gap: 8px; align-items: center; font-weight: 500; color: #475569; }
.ui-auth .form input:not([type=checkbox]):not([type=hidden]) { width: 100%; box-sizing: border-box; height: 50px; padding: 0 15px; border-radius: 13px; border: 1.5px solid #dfe4ef;
  background: #fff; font: inherit; font-size: 1rem; color: #0f172a; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .2s, box-shadow .25s, transform .2s; }
.ui-auth .form input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 5px rgba(99, 102, 241, .15); }
.ui-auth .form .hint { font-weight: 400; color: #64748b; font-size: .8rem; }
.ui-auth input[type=checkbox] { width: 18px; height: 18px; accent-color: #4f46e5; }
.ui-phone { display: flex; align-items: stretch; }
.ui-phone span { display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; border: 1.5px solid #dfe4ef; border-right: 0; border-radius: 13px 0 0 13px; background: #f8fafc; color: #334155; font-weight: 700; }
.ui-phone input { border-radius: 0 13px 13px 0 !important; }
.ui-otp-input { letter-spacing: .55em !important; font-size: 1.45rem !important; text-align: center; font-weight: 800; }

/* buttons with shine */
.ui-auth .btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 13px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s, filter .2s; }
.ui-auth .btn.big { height: 52px; font-size: 1.02rem; width: 100%; border: 0; }
.ui-auth .btn.big:hover { transform: translateY(-2px); }
.ui-auth .btn.big:active { transform: scale(.97); }
.ui-auth .btn.big::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -70%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: ua-sweep 3.4s ease-in-out 1.2s infinite; }
@keyframes ua-sweep { 0%, 50% { left: -70%; } 80%, 100% { left: 130%; } }
.ui-auth .btn.primary { background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #7c3aed); color: #fff; box-shadow: 0 12px 26px rgba(79, 70, 229, .35); }
.ui-auth .btn.primary:hover { box-shadow: 0 16px 34px rgba(79, 70, 229, .45); }
.ui-auth .btn.wa { background: linear-gradient(135deg, #25d366, #16a34a); color: #fff; box-shadow: 0 12px 26px rgba(22, 163, 74, .35); }
.ui-auth .btn.wa:hover { box-shadow: 0 16px 34px rgba(22, 163, 74, .45); }
.ui-auth .btn.wa svg, .ui-auth .btn.primary svg { width: 21px; height: 21px; }
.ui-auth .btn.small { height: 38px; padding: 0 14px; font-size: .86rem; background: #fff; border: 1.5px solid #dfe4ef; color: #334155; }
.ui-auth .btn.small:hover { border-color: #a5b4fc; color: #4338ca; }
.ui-auth .btn:disabled { opacity: .55; cursor: default; }
.ui-auth .alert { border-radius: 13px; padding: 11px 14px; font-size: .9rem; margin: 0 0 16px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ui-auth .center { text-align: center; }
.ui-auth-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e8ecf4; display: grid; gap: 6px; }
.ui-auth-foot p { margin: 0; }
.ui-auth a { color: #4f46e5; }
.ui-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: #94a3b8; margin-top: 16px; }
.ui-secure svg { width: 14px; height: 14px; }
.ui-auth .powered { margin-top: 12px; text-align: center; font-size: .78rem; color: #94a3b8; }

/* phones: colourful header strip + card */
@media (max-width: 900px) {
  body.auth-body.ui-auth { grid-template-columns: 1fr; }
  .ui-auth-side { display: none; }
  .ui-auth-main { align-items: flex-start; padding: 0 0 calc(24px + env(safe-area-inset-bottom)); flex-direction: column;
    background: linear-gradient(160deg, #312e81, #1d4ed8 45%, #0891b2); background-size: 200% 200%; animation: ua-shift 14s ease-in-out infinite alternate; }
  .ui-auth-main .ui-blob { display: block; }
  .ui-auth-card { margin: 120px 14px 0; width: auto; max-width: none; align-self: stretch; padding: 28px 22px; border-radius: 24px; }
  .ui-auth-card .ui-brand { display: inline-flex; position: absolute; top: -78px; left: 8px; color: #fff; }
  .ui-auth-card .ui-brand img { background: #fff; }

}
.ui-auth-main .ui-blob { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ui-auth *, .ui-auth *::before, .ui-auth *::after { animation: none !important; transition: none !important; }
  .ua-in { opacity: 1; }
}

/* floating cards sit in the empty corners of the panel, never over the text */
.ui-float-cards { position: static; height: auto; }
.ui-fcard { right: 32px; }
.ui-fcard.f1 { top: 40px; bottom: auto; right: 32px; }
.ui-fcard.f2 { top: auto; bottom: 92px; right: 40px; }
@media (max-width: 1180px) { .ui-fcard { display: none; } }
.ui-fcard.f2 { display: none !important; }

/* ---------- phones: page title always visible next to the location picker ---------- */
@media (max-width: 820px) {
  .topbar h1 { flex: 1 1 auto !important; min-width: 96px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar .loc-switch { flex: 0 1 auto; min-width: 0; max-width: 46%; }
  .topbar .loc-switch select { max-width: 100%; width: 100%; text-overflow: ellipsis; padding-right: 26px; }
}
@media (max-width: 380px) {
  .topbar .loc-switch { max-width: 40%; }
  .topbar h1 { font-size: 1.08rem !important; }
}

/* ---------- login / sign-up: smaller, tighter card ---------- */
.ui-auth-card { max-width: 380px; padding: 28px 26px; border-radius: 22px; }
.ui-auth-card h2 { font-size: 1.6rem; }
.ui-auth-card > p.muted:first-of-type { margin-bottom: 16px; font-size: .92rem; }
.ui-seg { margin-bottom: 16px; }
.ui-seg a { padding: 8px; font-size: .86rem; }
.ui-auth .form { gap: 12px; }
.ui-auth .form input:not([type=checkbox]):not([type=hidden]) { height: 46px; font-size: .96rem; }
.ui-auth .btn.big { height: 48px; font-size: .96rem; }
.ui-auth-foot { margin-top: 16px; padding-top: 14px; }
.ui-secure { margin-top: 12px; }
@media (max-width: 900px) {
  .ui-auth-card { margin: 92px 18px 0; padding: 22px 18px; border-radius: 20px; }
  .ui-auth-card .ui-brand { top: -66px; font-size: 1.1rem; }
  .ui-auth-card .ui-brand img { width: 38px; height: 38px; }
  .ui-auth-card h2 { font-size: 1.4rem; }
  .ui-auth-card > p.muted:first-of-type { font-size: .86rem; }
  .ui-auth .form label { font-size: .84rem; }
  .ui-auth .form .hint { font-size: .76rem; }
  .ui-auth .form input:not([type=checkbox]):not([type=hidden]) { height: 44px; }
  .ui-auth .btn.big { height: 46px; }
  .ui-auth-foot p { font-size: .82rem; }
}
/* large phones & tablets (one-column login): keep the card centred */
@media (max-width: 900px) {
  .ui-auth-card { align-self: center; width: calc(100% - 36px); max-width: 420px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
}
@media (min-width: 560px) and (max-width: 900px) {
  .ui-auth-main { justify-content: center; }
  .ui-auth-card { margin-top: 0; }
}

/* ===== never wider than the phone (wide tables / long links made Android zoom the page) ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.shell, .main, .content, .card, .grid > *, .grid2 > *, .form, .form label { min-width: 0; }
.main { max-width: 100%; overflow-x: clip; }
.content { max-width: 100%; }
.alert, .hint, p, li, td, small, .muted, .check, .banner, label { overflow-wrap: anywhere; word-break: normal; }
.alert a, .alert code { word-break: break-all; }
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.card > table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 820px) {
  .table-wrap table { min-width: 100%; }
  .table-wrap td, .table-wrap th { white-space: nowrap; }
  .table-wrap td .small, .table-wrap td small { white-space: normal; }
  .content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } /* room above the tab bar */
  img, video, canvas, iframe, svg:not(.ic):not(.lic) { max-width: 100%; }
  pre, code { white-space: pre-wrap; word-break: break-all; }
}

/* ===== login with email: compact on phones ===== */
@media (max-width: 900px) {
  .ui-auth-card { padding: 20px 16px; }
  .ui-auth-card h2 { font-size: 1.3rem; margin-bottom: 2px; }
  .ui-auth-card > p.muted:first-of-type { margin-bottom: 12px; }
  .ui-seg { margin-bottom: 12px; padding: 4px; }
  .ui-seg a { padding: 7px; font-size: .82rem; }
  .ui-auth .form { gap: 10px; }
  .ui-auth .form label { gap: 4px; font-size: .8rem; }
  .ui-auth .form input:not([type=checkbox]):not([type=hidden]) { height: 42px; font-size: .92rem; border-radius: 11px; padding: 0 12px; }
  .ui-auth .form label.inline { font-size: .8rem; }
  .ui-auth .btn.big { height: 44px; font-size: .92rem; border-radius: 11px; }
  .ui-auth-foot { margin-top: 12px; padding-top: 10px; gap: 4px; }
  .ui-auth-foot p { font-size: .78rem; }
  .ui-secure { margin-top: 8px; font-size: .72rem; }
  .ui-auth .powered { margin-top: 8px; }
}
@media (max-width: 559px) {
  .ui-auth-main { justify-content: flex-start; }
  .ui-auth-card { margin-top: 84px; }
  .ui-auth-card .ui-brand { top: -62px; }
}

/* ===== +91 prefix: one joined field with the number box ===== */
.ui-phone { display: flex; align-items: stretch; border-radius: 13px; }
.ui-phone > span { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 52px; padding: 0 12px;
  border: 1.5px solid #dfe4ef; border-right: 0; border-radius: 13px 0 0 13px; background: #f1f5fb; color: #1e293b; font-weight: 700; font-size: 1rem; line-height: 1; }
.ui-phone > input { flex: 1 1 auto; min-width: 0; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.ui-phone:focus-within > span { border-color: #6366f1; }
@media (max-width: 900px) {
  .ui-phone > span { border-radius: 11px 0 0 11px; font-size: .92rem; min-width: 48px; padding: 0 10px; }
  .ui-phone > input { border-radius: 0 11px 11px 0 !important; }
}
/* keyboard opening must not push the card around */
.ui-auth-main { min-height: 100vh; min-height: 100svh; }

/* ===== login / sign-up on phones: the page itself never moves (no rubber-band, no pull) ===== */
html:has(body.ui-auth), body.auth-body.ui-auth { overscroll-behavior: none; }
@media (max-width: 900px) {
  html:has(body.ui-auth) { height: 100%; overflow: hidden; }
  body.auth-body.ui-auth { height: 100%; height: 100dvh; min-height: 0; overflow: hidden; position: fixed; inset: 0; width: 100%; }
  .ui-auth-main { height: 100%; height: 100dvh; min-height: 0; box-sizing: border-box; overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}
