*{
    box-sizing:border-box;
}

html,
body{
    min-height:100%;
    width:100%;
    background:
        radial-gradient(circle at top left, rgba(255,122,0,.14) 0%, rgba(255,122,0,0) 28%),
        radial-gradient(circle at bottom right, rgba(49,116,229,.16) 0%, rgba(49,116,229,0) 30%),
        linear-gradient(180deg,#eef4fb 0%,#f8fbff 100%);
}

.auth-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:calc(100vh - 96px);
    padding:30px 20px 40px;
}

.auth-wrapper-wide{
    align-items:stretch;
}

.auth-shell{
    width:100%;
    max-width:1180px;
    display:grid;
    grid-template-columns:minmax(280px,.92fr) minmax(0,1.08fr);
    gap:24px;
    align-items:stretch;
}

.auth-intro,
.auth-container{
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(14px) saturate(160%);
    -webkit-backdrop-filter:blur(14px) saturate(160%);
    border:1px solid rgba(255,255,255,.6);
    border-radius:30px;
    box-shadow:0 20px 45px rgba(11,34,68,.10);
}

.auth-intro{
    padding:34px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.auth-kicker{
    display:inline-flex;
    width:max-content;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(49,116,229,.10);
    color:#2155b6;
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.auth-intro h2{
    margin:20px 0 14px;
    font-size:40px;
    line-height:1.14;
    color:#13294b;
}

.auth-intro p{
    margin:0;
    color:#5a6980;
    line-height:1.75;
}

.auth-feature-list{
    display:grid;
    gap:14px;
    margin-top:30px;
}

.auth-feature-card{
    padding:18px 20px;
    border-radius:22px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(214,223,235,.9);
}

.auth-feature-card strong{
    display:block;
    margin-bottom:8px;
    color:#13294b;
}

.auth-feature-card span{
    color:#5a6980;
    line-height:1.6;
    font-size:14px;
}

.auth-container{
    width:100%;
    padding:24px;
    text-align:center;
}

.auth-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:8px;
    border-radius:20px;
    background:#eef3fb;
    margin-bottom:22px;
}

.auth-tab{
    border:none;
    border-radius:16px;
    background:transparent;
    color:#5a6980;
    font-size:14px;
    font-weight:700;
    padding:14px 16px;
    cursor:pointer;
    transition:.25s ease;
}

.auth-tab.active{
    background:#13294b;
    color:#fff;
    box-shadow:0 14px 28px rgba(19,41,75,.16);
}

.auth-panel{
    display:none;
    text-align:left;
}

.auth-panel.active{
    display:block;
}

.auth-panel h3{
    font-size:28px;
    color:#13294b;
    margin-bottom:6px;
}

.sub{
    font-size:14px;
    color:#666;
    margin-bottom:22px;
}

.input-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.input-group{
    margin-bottom:0;
}

.input-group-full{
    grid-column:1 / -1;
}

.input-group input,
.input-group select,
.input-group textarea{
    width:100%;
    padding:14px 16px;
    border-radius:16px;
    border:1px solid #d9e1ee;
    background:#fff;
    font-size:14px;
    outline:none;
    transition:.2s ease;
}

.input-group textarea{
    min-height:120px;
    resize:vertical;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus{
    border-color:#3174e5;
    box-shadow:0 0 0 4px rgba(49,116,229,.08);
}

.btn-auth{
    width:100%;
    padding:15px;
    background:linear-gradient(135deg,#3174e5 0%,#1e5ed2 100%);
    color:white;
    border:none;
    border-radius:999px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    margin-top:16px;
    box-shadow:0 14px 28px rgba(49,116,229,.18);
}

.btn-auth:hover{
    background:linear-gradient(135deg,#2563eb 0%,#1d4fd0 100%);
}

.btn-google{
    width:100%;
    padding:13px;
    border-radius:999px;
    border:1px solid #d7deeb;
    background:#fff;
    cursor:pointer;
    font-weight:700;
    color:#13294b;
}

.divider{
    margin:18px 0;
    font-size:13px;
    color:#777;
    text-align:center;
}

.switch{
    margin-top:18px;
    font-size:14px;
    text-align:center;
}

.switch a{
    color:#3174e5;
    text-decoration:none;
    font-weight:700;
}

.error,
.success{
    padding:12px 14px;
    border-radius:14px;
    font-size:14px;
    margin-bottom:16px;
}

.error{
    background:#fff1f1;
    color:#b42318;
    border:1px solid #f4c7c3;
}

.success{
    background:#eefbf2;
    color:#107c41;
    border:1px solid #b7e1c4;
}

.change-password-wrapper{
    align-items:flex-start;
    min-height:auto;
    padding-top:72px;
}

.change-password-card{
    width:min(760px,94vw);
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:stretch;
    background:#fff;
    border:1px solid #dbe3ef;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 22px 52px rgba(11,34,68,.12);
}

.change-password-form,
.change-password-logo{
    min-height:360px;
    padding:28px;
}

.change-password-form{
    text-align:left;
}

.change-password-form h3{
    margin:0 0 8px;
    color:#13294b;
    font-size:24px;
}

.change-password-form .sub{
    margin-bottom:18px;
}

.change-password-form .input-group{
    margin-bottom:12px;
}

.change-password-form label{
    display:block;
    margin-bottom:7px;
    color:#334155;
    font-size:13px;
    font-weight:700;
}

.password-rules{
    margin:8px 0 0;
    padding-left:18px;
    color:#5a6980;
    font-size:12px;
    line-height:1.6;
}

.change-password-logo{
    background:linear-gradient(180deg,#fff7ed,#f8fbff);
    border-left:1px solid #e5edf7;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.change-password-logo img{
    width:min(230px,80%);
    height:auto;
    object-fit:contain;
}

.change-password-logo p{
    margin:14px 0 0;
    color:#5a6980;
    font-weight:600;
}

@media(max-width:1024px){

    .auth-shell{
        grid-template-columns:1fr;
    }

    .auth-intro h2{
        font-size:34px;
    }

}

@media(max-width:680px){

    .auth-wrapper{
        padding:20px 14px 34px;
    }

    .auth-intro,
    .auth-container{
        padding:20px;
        border-radius:22px;
    }

    .auth-tabs,
    .input-grid{
        grid-template-columns:1fr;
    }

    .auth-panel h3{
        font-size:24px;
    }

    .change-password-card{
        grid-template-columns:1fr;
    }

    .change-password-form,
    .change-password-logo{
        min-height:auto;
    }

    .change-password-logo{
        border-left:0;
        border-top:1px solid #e5edf7;
    }

}
