.auth-page{
    min-height:760px;
    background:
        radial-gradient(circle at 88% 20%, rgba(46,94,78,.08), transparent 24%),
        radial-gradient(circle at 8% 80%, rgba(201,166,107,.12), transparent 24%),
        linear-gradient(135deg,#f6ecd9,#fffaf1);
}

.auth-wrap{
    width:100%;
    min-height:760px;
    display:grid;
    grid-template-columns:1fr 520px;
    gap:58px;
    align-items:center;
    padding:48px 7%;
}

.auth-left{
    min-height:610px;
    padding:58px 54px;
    border-radius:0 170px 170px 0;
    background:linear-gradient(135deg,#123c2f,#06291d);
    color:#fff;
    position:relative;
    overflow:hidden;
    box-shadow:0 24px 60px rgba(6,41,29,.22);
}

.auth-left::before{
    content:"";
    position:absolute;
    right:-18px;
    top:0;
    bottom:0;
    width:8px;
    background:linear-gradient(180deg,var(--gold),#f4d98d,var(--gold));
}

.auth-left::after{
    content:"✾";
    position:absolute;
    right:55px;
    bottom:42px;
    font-size:150px;
    color:rgba(201,166,107,.12);
}

.auth-left-content{
    position:relative;
    z-index:2;
    max-width:430px;
}

.auth-left-content h3{
    color:var(--gold);
    font-size:22px;
    font-weight:700;
    margin-bottom:14px;
}

.auth-left-content h1{
    font-family:"Cormorant Garamond",serif;
    font-size:68px;
    line-height:.95;
    color:#fff;
    margin:0;
}

.auth-left-content span{
    display:block;
    width:140px;
    height:1px;
    background:var(--gold);
    margin:24px 0;
}

.auth-left-content p{
    color:var(--light-gold);
    font-size:22px;
    margin-bottom:18px;
}

.auth-left-content small{
    display:block;
    max-width:380px;
    color:rgba(255,255,255,.82);
    font-size:14px;
    line-height:1.7;
}

.auth-left-extra{
    margin-top:26px;
    padding:16px 18px;
    border-radius:14px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(201,166,107,.20);
    color:#fff;
    font-size:13px;
    line-height:1.8;
}

.auth-features{
    position:relative;
    z-index:2;
    max-width:430px;
    margin-top:34px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.auth-features div{
    text-align:center;
}

.auth-features strong{
    width:54px;
    height:54px;
    margin:0 auto 10px;
    border-radius:50%;
    border:1px solid var(--gold);
    display:grid;
    place-items:center;
    color:var(--gold);
    font-size:20px;
}

.auth-features p{
    margin:0;
    color:#fff;
    font-size:13px;
    font-weight:700;
    line-height:1.4;
}

.auth-right{
    width:100%;
    padding:34px 34px;
    border-radius:24px;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(46,94,78,.08);
    box-shadow:0 24px 60px rgba(46,94,78,.13);
}

.auth-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    border-bottom:1px solid rgba(46,94,78,.14);
    margin-bottom:22px;
}

.auth-tabs button{
    height:46px;
    border:0;
    background:transparent;
    color:#777;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
    border-bottom:3px solid transparent;
}

.auth-tabs button.active{
    color:var(--deep-green);
    border-color:var(--deep-green);
}

.auth-form{
    display:none;
}

.auth-form.active{
    display:block;
}

.auth-input{
    position:relative;
    margin-bottom:12px;
}

.auth-input span{
    position:absolute;
    left:15px;
    top:22px;
    transform:translateY(-50%);
    color:var(--gold);
    font-size:13px;
}

.auth-input input{
    width:100%;
    height:44px;
    border-radius:10px;
    border:1px solid rgba(46,94,78,.14);
    padding:0 42px;
    outline:none;
    background:#fff;
    color:var(--deep-green);
    font-size:13px;
}

.auth-input input:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(201,166,107,.12);
}

.auth-input.error input{
    border-color:#d92d20;
}

.auth-input.success input{
    border-color:#16a34a;
}

.auth-input small{
    display:block;
    min-height:10px;
    margin:4px 0 0 5px;
    color:#d92d20;
    font-size:10px;
    font-weight:700;
}

.auth-eye{
    position:absolute;
    right:12px;
    top:22px;
    transform:translateY(-50%);
    border:0;
    background:transparent;
    cursor:pointer;
    font-size:13px;
}

.auth-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:0 0 14px;
    font-size:12px;
    color:var(--deep-green);
}

.auth-row label{
    display:flex;
    gap:7px;
    align-items:center;
}

.auth-row input{
    width:14px;
    height:14px;
    accent-color:var(--deep-green);
}

.auth-row a,
.auth-switch-text button{
    color:var(--gold);
    background:transparent;
    border:0;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    text-decoration:none;
}

.auth-submit{
    width:100%;
    height:46px;
    border-radius:10px;
    border:0;
    background:linear-gradient(135deg,var(--deep-green),var(--dark-green));
    color:#fff;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
}

.auth-submit b{
    float:right;
    margin-right:16px;
}

.auth-divider{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:12px;
    margin:18px 0 14px;
}

.auth-divider span{
    height:1px;
    background:rgba(46,94,78,.14);
}

.auth-divider p{
    margin:0;
    width:30px;
    height:30px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border:1px solid rgba(46,94,78,.12);
    color:var(--brown);
    font-size:11px;
}

.auth-switch-text{
    text-align:center;
    color:#75665d;
    font-size:13px;
}

.auth-alert{
    display:none;
    padding:10px 12px;
    border-radius:9px;
    font-size:12px;
    font-weight:700;
    margin-bottom:12px;
}

.auth-alert.error{
    display:block;
    background:#fff0f0;
    color:#b42318;
}

.auth-alert.success{
    display:block;
    background:#effaf1;
    color:#08713f;
}

.server-alert{
    display:block !important;
}

.terms-error{
    display:block;
    min-height:10px;
    color:#d92d20;
    font-size:10px;
    font-weight:700;
    margin:-7px 0 8px 5px;
}

@media(max-width:1050px){
    .auth-wrap{
        grid-template-columns:1fr;
        gap:26px;
        padding:35px 18px;
    }

    .auth-left{
        min-height:auto;
        border-radius:28px;
        padding:36px;
    }

    .auth-left::before{
        display:none;
    }

    .auth-right{
        max-width:540px;
        margin:0 auto;
    }
}

@media(max-width:640px){
    .auth-wrap{
        padding:18px 12px 28px;
    }

    .auth-left{
        padding:28px 18px;
        border-radius:22px;
    }

    .auth-left-content h1{
        font-size:42px;
    }

    .auth-left-content p{
        font-size:18px;
    }

    .auth-features{
        grid-template-columns:1fr;
        gap:10px;
        margin-top:18px;
    }

    .auth-features div{
        display:flex;
        align-items:center;
        gap:12px;
        text-align:left;
    }

    .auth-features strong{
        margin:0;
        flex-shrink:0;
    }

    .auth-right{
        padding:22px 15px;
        border-radius:18px;
    }
}