*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    min-height:100vh;
    font-family:'Inter',sans-serif;
    color:#2b2230;
    background:
        radial-gradient(circle at 85% 10%, rgba(217,95,115,.26), transparent 28%),
        radial-gradient(circle at 8% 8%, rgba(255,255,255,.95), transparent 24%),
        linear-gradient(135deg,#fff9f8,#f7e0e4);
}

.auth-page{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(420px,540px) 1fr;
    gap:42px;
    align-items:center;
    padding:52px 7%;
}

.auth-card{
    position:relative;
    z-index:2;
    padding:42px;
    border-radius:34px;
    background:rgba(255,255,255,.78);
    backdrop-filter:blur(24px);
    box-shadow:0 28px 70px rgba(90,40,50,.12);
}

.auth-logo{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:34px;
    text-decoration:none;
    color:#2b2230;
}

.auth-logo-mark{
    width:58px;
    height:58px;
    border:4px solid #d95f73;
    border-radius:50%;
}

.auth-logo strong{
    display:block;
    font-size:32px;
    line-height:1;
    font-weight:900;
}

.auth-logo strong span{
    color:#d95f73;
}

.auth-logo small{
    display:block;
    margin-top:6px;
    color:#7e737c;
    font-weight:700;
}

.auth-card h1{
    font-family:Georgia,serif;
    font-size:48px;
    line-height:1.05;
    margin-bottom:14px;
}

.auth-card h1 span{
    color:#d95f73;
}

.auth-card p{
    color:#746b75;
    line-height:1.6;
    font-weight:600;
    margin-bottom:28px;
}

.auth-alert{
    padding:15px 18px;
    border-radius:16px;
    margin-bottom:18px;
    font-weight:800;
}

.auth-alert.error{
    color:#b62947;
    background:#ffe1e8;
}

.auth-alert.success{
    color:#24784a;
    background:#dcf7e8;
}

.auth-form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.auth-form label span{
    display:block;
    margin-bottom:8px;
    color:#5f5864;
    font-weight:900;
}

.auth-form input{
    width:100%;
    height:58px;
    border:1px solid rgba(43,36,48,.08);
    border-radius:18px;
    background:rgba(255,255,255,.9);
    padding:0 18px;
    color:#2b2230;
    font:800 16px 'Inter',sans-serif;
    outline:none;
    transition:.2s;
}

.auth-form input:focus{
    border-color:#d95f73;
    box-shadow:0 0 0 4px rgba(217,95,115,.12);
}

.auth-btn{
    height:60px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#f08495,#c84d63);
    color:white;
    font-size:18px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 18px 35px rgba(200,77,99,.22);
    transition:.25s;
}

.auth-btn:hover{
    transform:translateY(-2px);
}

.auth-switch{
    margin-top:22px;
    color:#746b75;
    font-weight:700;
}

.auth-switch a{
    color:#d95f73;
    font-weight:900;
    text-decoration:none;
}

.auth-visual{
    position:relative;
    min-height:650px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.auth-visual-card{
    width:min(560px,100%);
    min-height:560px;
    border-radius:44px;
    background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,221,229,.72));
    box-shadow:0 28px 70px rgba(90,40,50,.10);
    position:relative;
    overflow:hidden;
}

.auth-visual-card:before{
    content:'';
    position:absolute;
    width:360px;
    height:360px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(255,137,159,.35), transparent 68%);
    right:40px;
    top:80px;
}

.auth-visual img{
    position:absolute;
    right:5%;
    bottom:50px;
    width:min(520px,85%);
    filter:drop-shadow(0 30px 55px rgba(90,40,50,.16));
}

.auth-note{
    position:absolute;
    left:58px;
    top:65px;
    max-width:330px;
}

.auth-note strong{
    display:block;
    font-family:Georgia,serif;
    font-size:42px;
    color:#d95f73;
    margin-bottom:14px;
}

.auth-note span{
    color:#5f5864;
    font-size:19px;
    line-height:1.5;
    font-weight:700;
}

@media(max-width:980px){
    .auth-page{
        grid-template-columns:1fr;
        padding:30px 20px;
    }

    .auth-visual{
        display:none;
    }

    .auth-card h1{
        font-size:40px;
    }
}


.auth-links{
    margin-top:18px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}

.auth-links a{
    color:#d95f73;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
}
