:root{
    --green:#08745f;
    --green-dark:#064e3b;
    --green-deep:#073f34;
    --mint:#ecfdf5;
    --mint-2:#d9f6ea;
    --text:#123b34;
    --muted:#71857f;
    --border:#dfece7;
}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--text);
    background:#f5fbf8;
}
button,input{font:inherit}
a{text-decoration:none;color:inherit}

.auth-page{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:38px 18px;
    background:
      radial-gradient(circle at 12% 10%,#d7f7eb 0,transparent 27%),
      radial-gradient(circle at 90% 85%,#dff5ec 0,transparent 30%),
      linear-gradient(135deg,#f8fcfa 0%,#eef9f4 100%);
}
.auth-decoration{
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    filter:blur(.2px);
}
.auth-decoration-1{
    width:420px;height:420px;right:-170px;top:-170px;
    border:70px solid #d8f2e8;
}
.auth-decoration-2{
    width:260px;height:260px;left:-120px;bottom:-100px;
    background:#e3f7ef;
}

.auth-shell{
    width:100%;
    max-width:470px;
    position:relative;
    z-index:1;
}

.auth-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-bottom:24px;
}
.auth-logo{
    width:48px;height:48px;
    display:grid;place-items:center;
    border-radius:17px;
    color:#fff;
    font-size:23px;
    background:linear-gradient(145deg,#13957d,#075c49);
    box-shadow:inset 2px 2px 5px #fff4,inset -3px -4px 8px #0003,0 12px 25px #08745f2a;
}
.auth-brand strong,.auth-brand span{display:block}
.auth-brand strong{font-size:18px;letter-spacing:-.02em}
.auth-brand span{font-size:8px;letter-spacing:.16em;font-weight:900;color:#79918a;margin-top:2px}

.auth-card{
    padding:34px;
    background:rgba(255,255,255,.93);
    border:1px solid rgba(255,255,255,.9);
    border-radius:30px;
    box-shadow:0 30px 80px rgba(4,72,55,.12),0 8px 24px rgba(15,23,42,.05);
}
.auth-card-head{text-align:center;margin-bottom:27px}
.auth-badge{
    display:inline-flex;
    padding:6px 10px;
    border-radius:999px;
    background:var(--mint);
    color:var(--green-dark);
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.auth-card h1{
    font-size:30px;
    line-height:1.15;
    letter-spacing:-.045em;
    margin:13px 0 8px;
}
.auth-card-head p{
    margin:0;
    color:var(--muted);
    font-size:13px;
}

.auth-alert{
    display:flex;
    gap:10px;
    padding:12px 13px;
    margin-bottom:18px;
    border:1px solid #f2caca;
    background:#fff6f6;
    border-radius:15px;
    color:#8d3434;
}
.auth-alert>span{
    width:22px;height:22px;flex:0 0 22px;
    display:grid;place-items:center;
    border-radius:50%;
    background:#f5d9d9;
    font-weight:900;
}
.auth-alert strong{font-size:11px}
.auth-alert p{font-size:10px;margin:2px 0 0;color:#a25353}

.auth-form{display:grid;gap:18px}
.auth-field label,.auth-label-row label{
    display:block;
    margin-bottom:7px;
    font-size:11px;
    font-weight:900;
    color:#355b52;
}
.auth-label-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.auth-label-row label{margin:0}
.auth-label-row a{
    font-size:10px;
    color:var(--green);
    font-weight:900;
}
.auth-input{
    height:50px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:0 13px;
    border:1px solid #dbe9e4;
    border-radius:14px;
    background:#fbfefd;
    transition:.2s ease;
}
.auth-input:focus-within{
    border-color:#5ebda8;
    background:#fff;
    box-shadow:0 0 0 4px #dff7ef;
}
.auth-input>span{
    width:22px;
    color:#83a098;
    text-align:center;
    font-size:13px;
}
.auth-input input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font-size:13px;
}
.auth-input input::placeholder{color:#a2b2ae}
.auth-toggle{
    border:0;
    background:transparent;
    color:#87a099;
    cursor:pointer;
    padding:4px;
    font-size:13px;
}
.auth-remember{
    display:flex;
    align-items:center;
    gap:8px;
    color:#71857f;
    font-size:10px;
    cursor:pointer;
}
.auth-remember input{
    width:15px;height:15px;
    accent-color:var(--green);
}
.auth-submit{
    width:100%;
    height:52px;
    border:0;
    border-radius:15px;
    cursor:pointer;
    color:#fff;
    background:linear-gradient(145deg,#13947c,#075d49);
    box-shadow:inset 2px 2px 5px #fff3,inset -3px -4px 7px #0002,0 12px 25px #08745f25;
    font-size:12px;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    transition:.2s ease;
}
.auth-submit:hover{transform:translateY(-1px);box-shadow:inset 2px 2px 5px #fff3,inset -3px -4px 7px #0002,0 16px 30px #08745f30}
.auth-submit b{font-size:17px}

.auth-divider{
    height:1px;
    background:#e7efec;
    margin:25px 0 19px;
    position:relative;
    text-align:center;
}
.auth-divider span{
    position:relative;
    top:-9px;
    padding:0 10px;
    background:#fff;
    color:#a0afab;
    font-size:9px;
}
.auth-register{
    text-align:center;
    color:#7a8e88;
    font-size:11px;
}
.auth-register a{
    color:var(--green);
    font-weight:900;
}
.auth-benefits{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin:18px 0 12px;
    color:#6f8880;
    font-size:9px;
    font-weight:700;
}
.auth-footer{
    text-align:center;
    margin:0;
    color:#93a7a1;
    font-size:9px;
}

@media(max-width:520px){
    .auth-page{padding:25px 13px}
    .auth-card{padding:25px 20px;border-radius:25px}
    .auth-card h1{font-size:26px}
    .auth-brand{margin-bottom:18px}
    .auth-benefits{gap:9px}
}
