/* =========================================================
   EMDY USER AUTH
========================================================= */

:root{
    --auth-primary:#ff2e74;
    --auth-primary-2:#ff7aa5;
    --auth-dark:#21151b;
    --auth-muted:#7d6871;
    --auth-soft:#fff3f8;
    --auth-border:rgba(255,46,116,.16);
    --auth-shadow:0 18px 55px rgba(255,46,116,.16);
}

.emdy-auth-page,
.emdy-auth-page *{
    box-sizing:border-box;
    font-family:"Times New Roman",Times,serif;
}

.emdy-auth-page{
    min-height:100vh;
    padding:70px 6%;
    background:
        radial-gradient(circle at 12% 18%,rgba(255,122,165,.22),transparent 28%),
        radial-gradient(circle at 88% 40%,rgba(255,46,116,.14),transparent 30%),
        linear-gradient(180deg,#fff8fb 0%,#fff 44%,#fff3f8 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--auth-dark);
}

.emdy-auth-card{
    width:min(1180px,100%);
    overflow:hidden;
    border-radius:38px;
    background:white;
    border:1px solid var(--auth-border);
    box-shadow:var(--auth-shadow);
    display:grid;
    grid-template-columns:.92fr 1.08fr;
}

.emdy-auth-card.register{
    grid-template-columns:.78fr 1.22fr;
}

.emdy-auth-banner{
    padding:62px;
    color:white;
    background:
        linear-gradient(rgba(0,0,0,.42),rgba(0,0,0,.42)),
        url('../Images/banner/banner 1.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.emdy-auth-banner span{
    width:max-content;
    padding:10px 22px;
    border-radius:999px;
    background:rgba(255,255,255,.2);
    border:1px solid rgba(255,255,255,.32);
    font-size:14px;
    font-weight:800;
    letter-spacing:2px;
    margin-bottom:24px;
}

.emdy-auth-banner h1{
    margin:0 0 24px;
    font-size:58px;
    line-height:1.08;
}

.emdy-auth-banner p{
    margin:0 0 30px;
    font-size:20px;
    line-height:1.8;
    color:rgba(255,255,255,.92);
}

.emdy-auth-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.emdy-auth-actions a{
    height:50px;
    padding:0 22px;
    border-radius:999px;
    background:white;
    color:var(--auth-primary);
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    font-size:17px;
    font-weight:800;
}

.emdy-auth-form-wrap{
    padding:55px;
    display:flex;
    align-items:center;
}

.emdy-auth-form{
    width:100%;
}

.emdy-auth-form h2{
    margin:0 0 28px;
    color:var(--auth-dark);
    font-size:44px;
    line-height:1.15;
}

.emdy-alert{
    padding:15px 18px;
    border-radius:18px;
    margin-bottom:20px;
    font-size:17px;
    font-weight:800;
}

.emdy-alert.error{
    color:#b42318;
    background:#fff0ef;
    border:1px solid #ffc9c5;
}

.emdy-alert.success{
    color:#137333;
    background:#e9f8ee;
    border:1px solid #bde9c8;
}

.emdy-form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.emdy-form-group{
    margin-bottom:20px;
}

.emdy-form-group label{
    display:block;
    margin-bottom:9px;
    color:var(--auth-dark);
    font-size:17px;
    font-weight:800;
}

.emdy-form-group input{
    width:100%;
    height:58px;
    border:1px solid var(--auth-border);
    border-radius:20px;
    outline:none;
    background:var(--auth-soft);
    color:var(--auth-dark);
    padding:0 18px;
    font-size:18px;
}

.emdy-form-group input:focus{
    background:white;
    border-color:rgba(255,46,116,.45);
    box-shadow:0 0 0 4px rgba(255,46,116,.08);
}

.emdy-auth-form button{
    width:100%;
    height:62px;
    border:none;
    border-radius:999px;
    cursor:pointer;
    color:white;
    background:linear-gradient(135deg,var(--auth-primary-2),var(--auth-primary));
    font-size:20px;
    font-weight:800;
    box-shadow:0 16px 34px rgba(255,46,116,.28);
}

.emdy-auth-links{
    margin-top:22px;
    display:flex;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

.emdy-auth-links a{
    color:var(--auth-primary);
    font-size:17px;
    font-weight:800;
    text-decoration:none;
}

@media(max-width:920px){
    .emdy-auth-card,
    .emdy-auth-card.register{
        grid-template-columns:1fr;
    }

    .emdy-auth-banner{
        padding:42px;
    }

    .emdy-auth-banner h1{
        font-size:42px;
    }

    .emdy-auth-form-wrap{
        padding:38px;
    }
}

@media(max-width:620px){
    .emdy-auth-page{
        padding:35px 5%;
    }

    .emdy-form-row{
        grid-template-columns:1fr;
        gap:0;
    }

    .emdy-auth-form h2{
        font-size:34px;
    }
}
