:root{font-family:"Segoe UI",Arial,sans-serif;color:#193d2e;background:#e9f5eb;font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;padding:38px 20px;background:radial-gradient(circle at 10% 15%,#d0ead4,transparent 40%),#e9f5eb}.auth-card{width:min(750px,100%);background:#fafffa;border:1px solid #b8d6bf;border-radius:12px;box-shadow:0 18px 60px #163d2c15;overflow:hidden}.auth-brand{display:flex;align-items:center;gap:20px;background:#7bc88d;padding:30px;border-bottom:5px solid #288854}.auth-brand img{width:70px;height:92px;object-fit:contain}.auth-brand h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,3vw,32px);font-weight:900;color:#b5142b;line-height:1.2;margin:0 0 10px}.auth-brand p{color:#10251a;font-size:17px;font-weight:700;line-height:1.55;margin:0}.auth-content{padding:28px 38px;max-width:540px;margin:auto}h2{font-size:24px;margin:0 0 24px}label{display:block;font-size:16px;font-weight:600;margin:18px 0 9px}input{font:inherit;width:100%;padding:13px 14px;color:#183d2d;border:1px solid #b5cfbd;border-radius:5px;background:#fff;min-height:48px}input:focus{outline:3px solid #389d6260;border-color:#2c8551}button{font:inherit;cursor:pointer;font-weight:600;border:1px solid transparent;border-radius:5px}button:focus-visible{outline:3px solid #2788c3;outline-offset:3px}button:disabled{opacity:.6;cursor:wait}.primary{display:block;width:100%;background:#176c42;color:white;padding:13px 18px;min-height:49px;margin-top:25px}.primary:hover{background:#105b36}.text-button{display:block;color:#236d48;background:transparent;padding:10px 2px;margin:9px auto 0;text-align:center}.text-button:hover{text-decoration:underline}.password-field{position:relative}.password-field input{padding-right:72px}.show-password{position:absolute;right:7px;top:8px;padding:7px 9px;background:#e8f3ea;color:#235d3f;font-size:14px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title .text-button{margin:0;font-size:14px;white-space:nowrap}.section-title h2{margin:0}.steps{list-style:none;display:flex;justify-content:space-between;gap:12px;padding:0;margin:24px 0 26px;color:#728278;font-size:14px}.steps li{display:flex;align-items:center;gap:7px}.steps span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e4ece5;font-weight:700}.steps li[aria-current]{color:#176c42;font-weight:700}.steps li[aria-current] span{background:#176c42;color:#fff}.hint,.setup-note{font-size:14px;line-height:1.7;color:#506c5a;margin:18px 0 0;overflow-wrap:anywhere}.setup-note{background:#fff4d9;border:1px solid #e5cb88;color:#755917;padding:12px;border-radius:5px}.message{background:#fff1e9;color:#8d3d23;border:1px solid #e6c0a9;padding:12px 14px;font-size:14px;line-height:1.65;border-radius:5px;margin-bottom:20px;overflow-wrap:anywhere}.message.success{background:#e5f4e8;color:#22623b;border-color:#aecfb7}footer{text-align:center;background:#eff7f0;border-top:1px solid #d8e6dc;color:#687d6e;padding:16px;font-size:13px}[hidden]{display:none!important}@media(max-width:600px){body{padding:18px 12px}.auth-brand{padding:22px 18px;gap:13px}.auth-brand img{width:43px;height:62px}.auth-brand h1{font-size:22px}.auth-brand p{font-size:14px}.auth-content{padding:26px 22px}.section-title{align-items:flex-start}h2{font-size:22px}.steps{gap:8px;font-size:13px}}
.setup-instructions{padding-left:22px;font-size:15px;line-height:1.8}.setup-instructions li{margin-bottom:12px;overflow-wrap:anywhere}.setup-instructions a,.hint a{color:#176c42;font-weight:600}

select{font:inherit;width:100%;padding:13px 14px;color:#183d2d;border:1px solid #b5cfbd;border-radius:5px;background:#fff;min-height:48px}select:focus{outline:3px solid #389d6260;border-color:#2c8551}

/* Login layout based on the supplied reference. */
:root{color:#123d46;background:#084f41}
body{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:24px;padding:23px 20px;min-height:100svh;background:radial-gradient(ellipse at 85% 82%,#efbb4b 0,transparent 36%),radial-gradient(ellipse at 13% 7%,#3fa789 0,transparent 46%),#084f41;background-attachment:fixed}
.auth-card{width:min(430px,100%);padding:34px 35px 30px;background:#eff5f2;border:0;border-radius:18px;box-shadow:0 20px 65px #003d2d35;overflow:visible}
.auth-brand{padding:0;margin-bottom:27px;background:transparent;border:0;gap:18px;align-items:center;flex-wrap:wrap}
.auth-brand img{width:60px;height:74px;object-fit:contain;flex:none}
.auth-brand>div{flex:1;min-width:200px}
.auth-brand h1{font-family:"Segoe UI",Arial,sans-serif;color:#00564e;font-size:26px;font-weight:800;letter-spacing:2px;line-height:1.15;margin:0 0 8px}
.auth-brand h1 span{display:block;font-size:14px;letter-spacing:.6px;margin-top:3px}
.auth-brand p{font-size:12px;font-weight:500;line-height:1.5;color:#365957}
.auth-content{padding:0;max-width:none;margin:0}
h2{color:#123d46;font-size:24px;margin:0 0 13px}
label{color:#214d56;font-size:14px;font-weight:500;margin:14px 0 6px}
input,select{min-height:44px;padding:10px 12px;border-color:#c7d9d6;border-radius:7px;color:#183f47;font-size:15px}
input::placeholder{color:#7b8b91}
input:focus,select:focus{outline:3px solid #00845e25;border-color:#078361}
.primary{min-height:46px;margin-top:22px;padding:11px 18px;border-radius:7px;background:#098462;font-size:16px;color:white}
.primary:hover{background:#066d51}
.show-password{top:6px;right:6px;background:#edf4f1;color:#37685c;padding:7px;font-size:12px}
.registration-link{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:38px;color:#67828a;font-size:13px}
.registration-link .text-button{display:inline-block;margin:0;padding:4px 0;font-size:13px;color:#008361;text-decoration:underline;text-underline-offset:3px}
.text-button{color:#06785a}
body>footer{background:transparent;border:0;padding:0;color:#f0fffb;font-size:12px;line-height:1.7;text-align:center}
body>footer a{color:inherit;text-decoration:none}
.steps{gap:7px;font-size:12px;margin:22px 0}
.steps span{width:26px;height:26px}
.steps li[aria-current]{color:#078361}
.steps li[aria-current] span{background:#078361}
.section-title h2{font-size:22px}
.section-title .text-button{font-size:12px}
.hint,.setup-note{font-size:13px}
@media(max-width:480px){body{padding:20px 14px;gap:20px}.auth-card{padding:28px 24px}.auth-brand{gap:14px;margin-bottom:25px}.auth-brand img{width:51px;height:68px}.auth-brand>div{min-width:160px}.auth-brand h1{font-size:24px}.auth-brand h1 span{font-size:13px}.auth-brand p{font-size:11px}.auth-content{padding:0}.registration-link{margin-top:32px}}

/* Keep the logo at the left and both brand lines unbroken. */
.auth-card{width:min(640px,100%)}
.auth-brand{flex-wrap:nowrap}
.auth-brand>div{min-width:0;container-type:inline-size}
.auth-brand h1{white-space:nowrap;font-size:clamp(12px,6.4cqi,32px);letter-spacing:.2px}
.auth-brand p{white-space:nowrap;font-size:clamp(7px,3.2cqi,16px);color:#183d35}
.auth-content{width:100%;max-width:360px;margin-inline:auto}
@media(max-width:480px){.auth-brand{gap:12px}.auth-brand img{width:43px;height:60px}.auth-brand>div{min-width:0}.auth-brand h1{font-size:clamp(12px,6.4cqi,32px)}.auth-brand p{font-size:clamp(7px,3.2cqi,16px)}}
/* Compact login card, larger address and registered-user chooser. */
.auth-card{width:min(560px,100%);padding-inline:24px}
.auth-brand p{font-size:clamp(7px,4.1cqi,18px)}
.username-suggestions{margin-top:5px;border:1px solid #b4d5c8;border-radius:8px;overflow:hidden;background:white;max-height:190px;overflow-y:auto}
.username-suggestions button{display:block;width:100%;padding:10px 12px;text-align:left;background:#f5fbf7;color:#174e40;border:0;border-radius:0;font-size:14px}
.username-suggestions button:hover,.username-suggestions button[aria-selected=true]{background:#d8f0e5}
.search-status{font-size:12px;color:#456b5d;margin:6px 0 0}
.registration-details{margin:16px 0;padding:12px 14px;border:1px solid #c6ded4;border-radius:8px;background:#e3f0e9}
.registration-details dl{margin:0;font-size:13px;line-height:1.6}
.registration-details dl>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;margin:3px 0}
.registration-details dt{font-weight:700}.registration-details dd{margin:0;overflow-wrap:anywhere}
@media(max-width:480px){.auth-brand p{font-size:clamp(7px,4.1cqi,18px)}}

/* Narrower login card with only the registration link below the form. */
.auth-card{width:min(350px,100%)}
.auth-brand{gap:12px}.auth-brand img{width:44px;height:66px}
.auth-brand p{font-size:clamp(7px,4.6cqi,18px)}
.registration-link{gap:0}
@media(max-width:480px){.auth-brand img{width:43px;height:60px}.auth-brand p{font-size:clamp(7px,4.1cqi,18px)}}

/* Compact two-color login and owner-approved recovery. */
body{background:linear-gradient(135deg,#087d61 0%,#153d78 100%);background-attachment:fixed}.auth-card{background:linear-gradient(135deg,#edfbed 0%,#e8f0ff 100%);border:1px solid #ffffff65;box-shadow:0 18px 55px #062b4650}.auth-content{max-width:260px}.forgot-button{color:#c3263d;font-weight:700;margin:10px auto 0;padding:6px 12px}.forgot-button:hover{color:#961529}.registration-link{margin-top:18px}.recovery-options{margin:18px 0;border:1px solid #b4cfc9;border-radius:8px;overflow:hidden;background:#ffffff60}.recovery-options label{display:flex;align-items:center;justify-content:space-between;margin:0;padding:11px 13px;border-bottom:1px solid #c4d9d2;font-weight:600}.recovery-options label:last-child{border-bottom:0}.recovery-options input{width:18px;height:18px;min-height:0;margin:0;accent-color:#0b856b}.recovery-change[hidden]{display:none}.auth-card .primary{background:linear-gradient(100deg,#098462,#2754a1)}.auth-card .primary:hover{background:linear-gradient(100deg,#07684e,#1b407e)}
#loginForm{width:min(190px,100%);margin-inline:auto}

/* Farnoor login card */
main.auth-card {
  background: #044678;
  border: 1px solid #7296b1;
  box-shadow: 0 18px 42px rgba(6, 35, 60, .28);
}
.auth-card .auth-brand h1, .auth-card .auth-brand h1 span,
.auth-card .auth-brand p, .auth-card h2, .auth-card label,
.auth-card .hint, .auth-card .hint a, .auth-card .search-status {
  color: #fff;
}
.auth-card button.text-button, .auth-card .registration-link .text-button {
  color: #bceeff;
}
.auth-card .recovery-options label { color: #173e55; }