*,*::before,*::after{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body.auth-page{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:28px 18px;overflow-x:hidden;overflow-y:auto;color:#102d47;background:#102b31;font-family:Inter,"Segoe UI",Arial,sans-serif}
.auth-background{position:fixed;inset:0;z-index:0;overflow:hidden;background:#102c35}
.auth-background>img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transform:scaleX(-1)}
.auth-background-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,24,31,.25),rgba(5,24,31,.12) 48%,rgba(5,24,31,.22)),linear-gradient(0deg,rgba(5,22,28,.18),rgba(5,22,28,.08))}
.auth-shell{position:relative;z-index:1;width:100%;display:grid;place-items:center;margin:auto}
.auth-card{position:relative;isolation:isolate;overflow:hidden;width:min(540px,100%);padding:34px clamp(25px,5vw,56px) 72px;border:1.5px solid rgba(221,178,82,.95);border-radius:34px;background:linear-gradient(145deg,#fffdf7 0%,#fffaf0 62%,#fff9ed 100%);box-shadow:0 30px 100px rgba(0,0,0,.42),0 2px 10px rgba(5,36,45,.14)}
.auth-card::before{content:"";position:absolute;z-index:-1;top:-4px;left:-4px;width:190px;height:315px;background:url('../images/login/leaf-lines.svg') left top/contain no-repeat;opacity:.48;pointer-events:none}
.auth-leaf-lower{position:absolute;z-index:0;right:-20px;bottom:42px;width:112px;height:190px;background:url('../images/login/leaf-lines.svg') center/contain no-repeat;opacity:.28;transform:rotate(180deg);pointer-events:none}
.auth-card-waves{position:absolute;z-index:0;right:0;bottom:0;left:0;height:94px;background:url('../images/login/card-waves.svg') center bottom/100% 100% no-repeat;pointer-events:none}
.auth-brand,.auth-heading,.auth-form,.auth-back-link,.auth-success-mark{position:relative;z-index:1}
.auth-language{position:absolute;z-index:2;top:22px;right:22px;min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #ece5d9;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 3px 11px rgba(27,49,63,.12);color:#183751;font-size:12px;font-weight:650}
.auth-language>svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-language .auth-language-chevron{width:14px;height:14px;margin-left:1px}
.auth-brand{text-align:center;margin:11px 0 19px}
.auth-brand-mark{display:block;width:122px;height:79px;margin:0 auto;object-fit:contain}
.auth-brand-logo{display:block;width:122px;max-width:122px;height:79px;margin:0 auto;object-fit:contain;object-position:center}
.auth-wordmark{display:inline-block;color:#102d4d;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:29px;font-weight:800;letter-spacing:.105em;line-height:1.12}
.auth-brand p{margin:5px 0 0;color:#183a56;font-size:12px;font-weight:600;letter-spacing:.015em}
.auth-heading{text-align:center;margin:0 0 24px}
.auth-heading h1{margin:0;color:#102c4b;font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,5vw,43px);font-weight:700;letter-spacing:-.03em;line-height:1.08}
.auth-heading p{max-width:400px;margin:8px auto 0;color:#314c63;font-size:15px;line-height:1.5}
.auth-form{display:grid;gap:14px}
.auth-validation-summary{color:#a12830;font-size:13px;line-height:1.45}
.auth-validation-summary:empty{display:none}
.auth-validation-summary ul{margin:0;padding-left:18px}
.auth-field{min-width:0}
.auth-field>label{display:block;margin:0 0 7px;color:#193650;font-size:13px;font-weight:700}
.auth-input-wrap{height:52px;display:flex;align-items:center;gap:12px;padding:0 14px;border:1px solid #d8dedf;border-radius:12px;background:rgba(255,255,255,.95);box-shadow:0 4px 12px rgba(30,55,74,.08);transition:border-color .18s,box-shadow .18s}
.auth-input-wrap:focus-within{border-color:#0b9b9c;box-shadow:0 0 0 3px rgba(11,155,156,.15),0 4px 12px rgba(30,55,74,.06)}
.auth-input-wrap>svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:#143a5b;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.auth-input-wrap input{width:100%;min-width:0;height:100%;border:0;outline:0;background:transparent;color:#193650;font-family:inherit;font-size:14px;font-weight:500}
.auth-input-wrap input:-webkit-autofill,.auth-input-wrap input:-webkit-autofill:hover,.auth-input-wrap input:-webkit-autofill:focus,.auth-input-wrap input:-webkit-autofill:active{border:0;-webkit-box-shadow:0 0 0 1000px #fff inset;box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:#193650;caret-color:#193650;transition:background-color 999999s ease-out 0s}
.auth-input-wrap input::placeholder{color:#8192a2}
.auth-eye{width:36px;height:38px;flex:0 0 36px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#173956;cursor:pointer}
.auth-eye:hover{background:#eff5f5}
.auth-eye:focus-visible,.auth-submit:focus-visible,.auth-back-link:focus-visible,.auth-options a:focus-visible{outline:3px solid rgba(6,146,150,.38);outline-offset:3px}
.auth-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-field-error{display:block;min-height:0;margin-top:4px;color:#a12830;font-size:12px}
.auth-field-error:empty{display:none}
.auth-hint{display:block;margin-top:6px;color:#6a7b89;font-size:11px;line-height:1.4}
.auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:1px 1px 3px;color:#183651;font-size:13px}
.auth-remember{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.auth-remember input{width:18px;height:18px;margin:0;accent-color:#078e91}
.auth-options a,.auth-back-link{color:#008e99;font-weight:700;text-decoration:none}
.auth-options a:hover,.auth-back-link:hover{text-decoration:underline}
.auth-submit{position:relative;width:100%;min-height:53px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 50px;border:1px solid #c7a24e;border-radius:999px;background:linear-gradient(105deg,#079d9a 0%,#087b86 48%,#075c70 100%);box-shadow:0 8px 18px rgba(4,111,122,.28),inset 0 1px rgba(255,255,255,.3);color:#fff;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer;transition:filter .18s,transform .18s}
.auth-submit:hover{filter:brightness(1.06);transform:translateY(-1px)}
.auth-submit svg{position:absolute;right:25px;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
a.auth-submit{margin-top:24px;text-decoration:none}
.auth-back-link{display:block;width:max-content;margin:20px auto 0;font-size:13px}
.auth-card-short{width:min(540px,100%);padding-top:34px;padding-bottom:72px}
.auth-card-short .auth-brand{margin-bottom:19px}
.auth-success-mark{width:46px;height:46px;display:grid;place-items:center;margin:4px auto 15px;border-radius:50%;background:#e0f3e9;color:#188254;font-size:25px;font-weight:800}
.auth-notice{padding:12px 14px;border:1px solid #eadcae;border-radius:9px;background:#fff8e6;color:#705b29}
@media(max-width:600px){body.auth-page{padding:17px 14px}.auth-card{padding:30px 24px 70px;border-radius:27px}.auth-card::before{width:150px;height:245px;opacity:.36}.auth-leaf-lower{width:92px;height:155px;opacity:.2}.auth-language{top:16px;right:16px;min-height:35px;padding:0 10px;font-size:11px}.auth-brand{margin-top:17px;margin-bottom:18px}.auth-brand-mark{width:100px;height:64px}.auth-brand-logo{width:100px;max-width:100px;height:64px}.auth-wordmark{font-size:26px}.auth-heading h1{font-size:36px}.auth-heading p{font-size:14px}.auth-input-wrap{height:52px}.auth-submit{min-height:52px}}
@media(max-width:380px){body.auth-page{padding:12px}.auth-card{padding-right:19px;padding-left:19px}.auth-language{top:12px;right:12px}.auth-heading h1{font-size:32px}.auth-options{font-size:12px}}
@media(max-height:760px) and (min-width:601px){body.auth-page{padding-top:15px;padding-bottom:15px}.auth-card{padding-top:25px;padding-bottom:65px}.auth-brand{margin-top:8px;margin-bottom:13px}.auth-brand-mark{width:122px;height:67px}.auth-brand-logo{width:122px;max-width:122px;height:67px}.auth-heading{margin-bottom:18px}.auth-heading h1{font-size:38px}.auth-form{gap:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
