/* AUTH PAGES */

.auth-page{
    margin:0;
    font-family:Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255,85,56,0.10), transparent 30%),
        linear-gradient(to bottom,#fff6f3,#ffffff 72%);
    min-height:100vh;
}

.auth-header.top-header{
    width:min(1080px, calc(100% - 48px));
    margin:28px auto 0;
    padding:12px 18px;
    border:1px solid #f1d8cf;
    border-radius:18px;
    background:rgba(255,255,255,0.90);
    box-shadow:0 16px 35px rgba(18,21,31,0.06);
    position:sticky;
    top:14px;
}

.auth-header .center-nav a{
    color:#444654;
    font-size:14px;
    font-weight:700;
}

.auth-header .center-nav a:hover,
.auth-header .signin-btn:hover{
    color:#ff5538;
}

.auth-header .auth-top-link{
    color:#ff5538;
    font-weight:900;
}

.auth-wrapper{
    min-height:calc(100vh - 110px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:54px 20px 70px;
}

.login-modal,
.signup-modal{
    width:100%;
    max-width:1080px;
    display:grid;
    grid-template-columns:0.95fr 1.05fr;
    background:white;
    border:1px solid #f1dfd9;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 25px 70px rgba(18,21,31,0.10);
}

.left-side{
    background:#12151f;
    padding:64px 54px;
    color:white;
    position:relative;
    overflow:hidden;
}

.left-side::after{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    border-radius:50%;
    background:rgba(255,85,56,0.18);
    right:-90px;
    top:-90px;
}

.left-side > *{
    position:relative;
    z-index:2;
}

.left-side h1{
    margin-top:0;
    margin-bottom:20px;
    font-size:42px;
    line-height:1.14;
    color:white !important;
    letter-spacing:-0.8px;
}

.left-side p{
    color:rgba(255,255,255,0.78) !important;
    font-size:16px;
    line-height:1.8;
    margin-bottom:42px;
}

.steps-list,
.benefits-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.step,
.benefit{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.step-number,
.benefit-icon{
    width:46px;
    height:46px;
    border-radius:16px;
    background:rgba(255,85,56,0.18);
    color:#ffb3a3;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:19px;
    font-weight:900;
    flex-shrink:0;
    border:1px solid rgba(255,255,255,0.08);
}

.step-text h3,
.benefit-text h3{
    margin:0 0 6px;
    font-size:18px;
    color:white !important;
}

.step-text p,
.benefit-text p{
    margin:0;
    font-size:14px;
    line-height:1.6;
}

.right-side{
    padding:64px 54px;
    background:white;
}

.login-header,
.signup-header{
    margin-bottom:26px;
}

.login-header h2,
.signup-header h2{
    margin:0 0 10px;
    font-size:38px;
    color:#12151f;
    letter-spacing:-0.5px;
}

.login-header p,
.signup-header p{
    margin:0;
    color:#6f7280;
    line-height:1.7;
    font-size:15px;
}

.error,
.message{
    background:#fff0eb;
    color:#b91c1c;
    padding:15px 16px;
    border-radius:16px;
    margin-bottom:20px;
    font-size:14px;
    font-weight:800;
    border:1px solid #ffd7ca;
}

.google-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    width:100%;
    padding:16px 18px;
    border:1px solid #f1dfd9;
    border-radius:16px;
    background:white;
    color:#12151f;
    text-decoration:none;
    font-weight:900;
    font-size:15px;
    margin-bottom:22px;
    transition:0.2s ease;
    box-shadow:0 10px 24px rgba(18,21,31,0.05);
}

.google-btn:hover{
    transform:translateY(-2px);
    background:#fffaf8;
    box-shadow:0 16px 35px rgba(18,21,31,0.08);
}

.google-btn img{
    width:22px;
    height:22px;
}

.divider{
    display:flex;
    align-items:center;
    gap:12px;
    color:#9a9ca8;
    font-size:13px;
    margin:0 0 22px;
    font-weight:800;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#f1dfd9;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:9px;
    font-weight:900;
    color:#12151f;
    font-size:14px;
}

.form-group input{
    width:100%;
    padding:16px 17px;
    border:1px solid #f1dfd9;
    border-radius:16px;
    font-size:15px;
    background:#fffaf8;
    color:#12151f;
}

.form-group input:focus{
    outline:none;
    border-color:#ff5538;
    background:white;
    box-shadow:0 0 0 4px rgba(255,85,56,0.08);
}

.login-btn,
.right-side .signup-btn{
    width:100%;
    background:linear-gradient(135deg,#ff5538,#ff7a45);
    color:white;
    border:none;
    padding:17px;
    border-radius:16px;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 14px 28px rgba(255,85,56,0.20);
}

.login-btn:hover,
.right-side .signup-btn:hover{
    background:linear-gradient(135deg,#ec4229,#ff683c);
}

.bottom-link{
    text-align:center;
    margin-top:26px;
    color:#6f7280;
    font-size:15px;
}

.bottom-link a{
    color:#ff5538;
    text-decoration:none;
    font-weight:900;
}

.security-note{
    margin-top:28px;
    padding:17px;
    border-radius:16px;
    background:#fffaf8;
    border:1px solid #f1dfd9;
    color:#6f7280;
    line-height:1.7;
    font-size:14px;
}

.form-top-label-wrap{
    display:flex;
    justify-content:center;
    margin-bottom:24px;
}

.auth-label{
    display:inline-flex;
    background:#fff0eb;
    color:#ff5538;
    padding:10px 20px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.7px;
    border:1px solid #ffd7ca;
}

.floating-circle{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
}

.circle-one{
    width:140px;
    height:140px;
    top:-40px;
    right:-40px;
}

.circle-two{
    width:90px;
    height:90px;
    bottom:30px;
    left:-20px;
}

/* Mobile auth cleanup */
@media(max-width:950px){
    .login-modal,
    .signup-modal{
        max-width:560px;
        grid-template-columns:1fr;
    }

    .left-side{
        display:none;
    }

    .right-side{
        padding:44px 34px;
    }
}

@media(max-width:900px){
    .auth-header.top-header{
        width:calc(100% - 28px);
        margin-top:14px;
        top:10px;
        display:grid;
        grid-template-columns:auto 1fr auto;
        gap:12px;
        padding:14px 18px;
        text-align:left;
    }

    .auth-header .logo{
        display:flex;
        align-items:center;
        min-width:0;
    }

    .auth-header .site-logo img{
        height:40px;
        width:auto;
        display:block;
    }

    .auth-header .auth-buttons{
        grid-column:2;
        grid-row:1;
        justify-content:flex-end;
        gap:8px;
        min-width:0;
    }

    .auth-header .center-nav{
        display:none;
        grid-column:1 / -1;
        width:100%;
        background:white;
        border:1px solid #f1dfd9;
        border-radius:18px;
        padding:12px;
        box-shadow:0 18px 45px rgba(18,21,31,0.10);
        margin-top:8px;
    }

    .auth-header .center-nav.show-mobile-nav{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
    }

    .auth-header .center-nav a{
        padding:13px 14px;
        border-radius:12px;
        font-size:15px;
    }

    .auth-header .center-nav a:hover{
        background:#fff6f3;
    }

    .auth-wrapper{
        min-height:auto;
        padding:30px 14px 50px;
    }
}

@media(max-width:600px){
    .login-modal,
    .signup-modal{
        border-radius:24px;
    }

    .right-side{
        padding:34px 24px;
    }

    .login-header h2,
    .signup-header h2{
        font-size:29px;
    }

    .login-header p,
    .signup-header p{
        font-size:14px;
    }

    .google-btn{
        padding:15px 16px;
    }

    .security-note{
        margin-top:24px;
    }
}

@media(max-width:430px){
    .auth-header .site-logo img{
        height:36px;
    }

    .auth-header .signup-btn,
    .auth-header .signin-btn{
        padding:10px 14px;
        font-size:13px;
        white-space:nowrap;
    }

    .right-side{
        padding:30px 20px;
    }
}
