/* Cleanora sign-in pages (login, registration, forgot-password, verify-email, create-new-password).
   Front-end demo only: nothing is sent to a server. */
.u1 :is(h1, h2, h3, button, b, strong, label, [class*="-btn"], [class*="-chip"]) :is(span, em, a) { font-family: inherit; font-weight: inherit; }
.u1 {
  --p: #1d765d; --p2: #2aa57f; --p-soft: #e7f3ee; --cta: #ffb703; --bad: #e0475b; --ink: #10201b; --muted: #5d6c67;
  --bg: #ffffff; --soft: #f3f8f6; --card: #ffffff; --line: #dfe9e5; --shadow: 0 24px 60px -24px rgba(16, 60, 45, .3); --accent: #1d765d;
  color: var(--ink); background: var(--bg); overflow-x: clip; font-family: 'Source Sans Pro', 'Open Sans', system-ui, sans-serif;
}
.dark .u1 { --p-soft: #15362e; --ink: #eef4f2; --muted: #a4b3ae; --bg: #0f172a; --soft: #131d33; --card: #1b2639; --line: #2a3850; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); --accent: #4fd1a5; }
.u1 *, .u1 *::before, .u1 *::after { box-sizing: border-box; }
.u1 h1, .u1 h2, .u1 h3 { font-family: 'Montserrat', sans-serif; color: var(--ink); margin: 0; line-height: 1.15; }
.u1 p { margin: 0; }
.u1 button, .u1 input { font-family: inherit; }
.u1 :focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.u1-sec { padding: 48px 0 160px; position: relative; }
@media (min-width: 1024px) { .u1-sec { padding: 64px 0 140px; } }
.u1-sec::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -260px; top: -120px; background: radial-gradient(circle, var(--p-soft), transparent 70%); pointer-events: none; }
.u1-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; position: relative; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 768px) { .u1-wrap { padding: 0 32px; } }
@media (min-width: 1024px) { .u1-wrap { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 64px; } }

/* ---------- card ---------- */
.u1-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px 22px; box-shadow: var(--shadow); animation: u1-in .7s cubic-bezier(.2,.8,.2,1) both; width: 100%; max-width: 520px; margin: 0 auto; }
@media (min-width: 520px) { .u1-card { padding: 36px; } }
@keyframes u1-in { from { opacity: 0; transform: translateY(24px); } }
.u1-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; list-style: none; padding: 0; }
.u1-steps li { display: flex; align-items: center; gap: 8px; font: 600 12px/1.2 'Montserrat', sans-serif; color: var(--muted); }
.u1-steps li + li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--line); }
.u1-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-size: 12px; flex: none; }
.u1-steps li.done span { background: var(--p); border-color: var(--p); color: #fff; }
.u1-steps li.done span::after { content: "\f00c"; font: 900 11px/1 'Font Awesome 6 Free'; }
.u1-steps li.done span b { display: none; }
.u1-steps li.cur { color: var(--ink); }
.u1-steps li.cur span { border-color: var(--p); color: var(--accent); box-shadow: 0 0 0 4px var(--p-soft); }
.u1-steps li.done + li::before, .u1-steps li.cur::before { background: var(--p2); }
@media (max-width: 420px) { .u1-steps li:not(.cur) em { display: none; } }
.u1-steps em { font-style: normal; }
.u1-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--p-soft); color: var(--accent); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.u1-card h1 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.u1 .u1-sub { color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.u1-sub b { color: var(--ink); }
.u1-form { display: grid; gap: 16px; }
.u1-field { display: grid; gap: 7px; }
.u1-field > label { font: 600 14px/1 'Montserrat', sans-serif; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.u1-field > label a { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 600; }
.u1-field > label a:hover { text-decoration: underline; }
.u1-in { position: relative; }
.u1-in > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s; font-size: 15px; }
.u1-in input { width: 100%; height: 54px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 50px 0 46px; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.u1-in input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.u1-in input:focus { border-color: var(--p); box-shadow: 0 0 0 4px var(--p-soft); }
.u1-in input:focus ~ i, .u1-in:focus-within > i { color: var(--accent); }
.u1-in input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 14%, transparent); }
.u1-in input.ok { border-color: var(--p2); }
.u1-in .ok-ic { position: absolute; right: 18px; top: 50%; transform: translateY(-50%) scale(0); color: var(--p2); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.u1-in input.ok ~ .ok-ic { transform: translateY(-50%) scale(1); }
.u1-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; }
.u1-eye:hover { background: var(--soft); color: var(--ink); }
.u1-msg { font-size: 13px; min-height: 0; color: var(--bad); display: flex; gap: 6px; align-items: center; }
.u1-msg:empty { display: none; }
.u1-msg.info { color: var(--muted); }
.u1-msg button { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: underline; font-size: 13px; }
.u1-caps { font-size: 13px; color: #b07d00; display: none; gap: 6px; align-items: center; }
.dark .u1-caps { color: var(--cta); }
.u1-caps.on { display: flex; }

/* strength meter */
.u1-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.u1-meter i { height: 5px; border-radius: 5px; background: var(--line); transition: background .3s; }
.u1-meter[data-s="1"] i:nth-child(-n+1) { background: var(--bad); }
.u1-meter[data-s="2"] i:nth-child(-n+2) { background: #f08c2e; }
.u1-meter[data-s="3"] i:nth-child(-n+3) { background: #d6b000; }
.u1-meter[data-s="4"] i { background: var(--p2); }
.u1-mlbl { font: 600 12px/1 'Montserrat', sans-serif; color: var(--muted); display: flex; justify-content: space-between; }
.u1-rules { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.u1-rules li { display: flex; gap: 7px; align-items: center; transition: color .2s; }
.u1-rules li::before { content: "\f111"; font: 400 11px/1 'Font Awesome 6 Free'; }
.u1-rules li.ok { color: var(--accent); }
.u1-rules li.ok::before { content: "\f058"; font-weight: 900; }

.u1-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.u1-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--muted); font-size: 14px; line-height: 1.45; }
.u1-check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); background: var(--bg); flex: none; display: grid; place-items: center; cursor: pointer; margin: 0; transition: all .2s; }
.u1-check input:checked { background: var(--p); border-color: var(--p); }
.u1-check input:checked::after { content: "\f00c"; font: 900 10px/1 'Font Awesome 6 Free'; color: #fff; }
.u1-check input[aria-invalid="true"] { border-color: var(--bad); }
.u1-check a, .u1-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.u1-check a:hover, .u1-link:hover { text-decoration: underline; }
.u1-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; border-radius: 99px; border: 0; cursor: pointer; background: var(--p); color: #fff; font: 700 16px/1 'Montserrat', sans-serif; transition: transform .2s, box-shadow .2s, background .2s; text-decoration: none; overflow: hidden; }
.u1-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(29, 118, 93, .7); }
.u1-btn:disabled { opacity: .55; cursor: not-allowed; }
.u1-btn.ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.u1-btn.ghost:hover:not(:disabled) { border-color: var(--p2); box-shadow: none; }
.u1-btn .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: u1-spin .7s linear infinite; }
.u1-btn.busy .spin { display: block; }
.u1-btn.busy .lbl { opacity: .8; }
@keyframes u1-spin { to { transform: rotate(360deg); } }
.u1-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.u1-or::before, .u1-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.u1-alt { text-align: center; color: var(--muted); font-size: 15px; }
.u1-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--soft); color: var(--muted); font-size: 13px; line-height: 1.5; }
.u1-note i { color: var(--accent); margin-top: 2px; }
.u1-banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--p-soft); color: var(--accent); font: 600 14px/1.4 'Montserrat', sans-serif; margin-bottom: 18px; animation: u1-in .5s both; }
.u1-banner[hidden] { display: none; }
.u1-banner.warn { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.u1-shake { animation: u1-shake .45s; }
@keyframes u1-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* code inputs (verify) */
.u1-code { display: flex; gap: 12px; justify-content: center; }
.u1-code input { width: 64px; height: 72px; border-radius: 18px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); text-align: center; font: 800 28px/1 'Montserrat', sans-serif; outline: none; transition: border-color .2s, box-shadow .2s, transform .2s; caret-color: var(--p); }
@media (max-width: 380px) { .u1-code { gap: 8px; } .u1-code input { width: 56px; height: 64px; } }
.u1-code input:focus { border-color: var(--p); box-shadow: 0 0 0 4px var(--p-soft); transform: translateY(-2px); }
.u1-code input.filled { border-color: var(--p2); background: var(--p-soft); }
.u1-code.bad input { border-color: var(--bad); }
.u1-code.good input { border-color: var(--p2); background: var(--p2); color: #fff; }
.u1-resend { text-align: center; font-size: 14px; color: var(--muted); }
.u1-resend button { border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; padding: 0; font-size: 14px; }
.u1-resend button:disabled { color: var(--muted); cursor: default; font-weight: 600; }
.u1-demo { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 14px; border: 1.5px dashed var(--cta); background: color-mix(in srgb, var(--cta) 10%, transparent); font-size: 13px; color: var(--ink); }
.u1-demo b { font: 800 16px/1 'Montserrat', sans-serif; letter-spacing: .2em; }

/* success state */
.u1-done { text-align: center; display: grid; gap: 14px; justify-items: center; animation: u1-in .6s both; }
.u1-done .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--p); color: #fff; display: grid; place-items: center; font-size: 36px; box-shadow: 0 0 0 10px var(--p-soft); animation: u1-pop .6s cubic-bezier(.3,1.6,.5,1) both .1s; }
@keyframes u1-pop { from { transform: scale(0); } }
.u1-done h1 { margin: 6px 0 0; }
.u1-done p { color: var(--muted); line-height: 1.6; max-width: 360px; }
.u1-done .acts { display: grid; gap: 10px; width: 100%; margin-top: 6px; }

/* ---------- art side ---------- */
.u1-art { position: relative; display: none; max-width: 640px; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .u1-art { display: block; } }
.u1-art .img { position: relative; transition: transform .4s ease-out; }
.u1-art .img img { width: 100%; height: auto; display: block; }
.u1-art .ring { position: absolute; inset: -2%; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--p2) 40%, transparent); animation: u1-rot 60s linear infinite; pointer-events: none; }
@keyframes u1-rot { to { transform: rotate(360deg); } }
.u1-float { position: absolute; z-index: 2; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; transition: transform .4s ease-out; animation: u1-bob 6s ease-in-out infinite; }
.u1-float:nth-of-type(2) { animation-delay: -2s; } .u1-float:nth-of-type(3) { animation-delay: -4s; }
@keyframes u1-bob { 50% { translate: 0 -10px; } }
.u1-float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; flex: none; }
.u1-float b { display: block; font: 800 16px/1.2 'Montserrat', sans-serif; color: var(--ink); }
.u1-float small { color: var(--muted); font-size: 13px; }
.u1-float.f1 { left: -4%; top: 12%; } .u1-float.f1 .ic { background: #fff4d6; color: #b07d00; }
.u1-float.f2 { right: -2%; top: 30%; } .u1-float.f2 .ic { background: var(--p-soft); color: var(--accent); }
.u1-float.f3 { left: 4%; bottom: 8%; } .u1-float.f3 .ic { background: #e6ecff; color: #4053d6; }
.u1-faces { display: flex; }
.u1-faces img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--card); object-fit: cover; background: var(--soft); }
.u1-faces img + img { margin-left: -10px; }
.u1-quote { position: relative; margin-top: 18px; padding: 18px 20px; border-radius: 20px; background: var(--soft); min-height: 104px; }
.u1-quote p { font: 600 15px/1.5 'Montserrat', sans-serif; color: var(--ink); transition: opacity .4s; }
.u1-quote small { display: block; margin-top: 8px; color: var(--muted); transition: opacity .4s; }
.u1-quote.fade p, .u1-quote.fade small { opacity: 0; }
.u1-quote .dots { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 5px; }
.u1-quote .dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: all .3s; }
.u1-quote .dots button[aria-current="true"] { width: 22px; background: var(--p2); }

.u1-toast { position: fixed; left: 50%; bottom: 24px; z-index: 2000; transform: translate(-50%, 200%); visibility: hidden; background: #10201b; color: #fff; padding: 12px 18px; border-radius: 14px; font: 600 14px/1.35 'Montserrat', sans-serif; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); transition: transform .45s cubic-bezier(.3,1.3,.5,1), visibility .45s; max-width: calc(100vw - 32px); }
.u1-toast.on { transform: translate(-50%, 0); visibility: visible; }
.u1-toast i { color: #ffb703; }
.u1-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .u1 *, .u1 *::before, .u1 *::after { animation: none !important; transition: none !important; }
}
