:root{
    --epa-auth-primary:#0f766e;
    --epa-auth-primary-2:#14b8a6;
    --epa-auth-dark:#0f172a;
    --epa-auth-muted:#64748b;
    --epa-auth-border:#e2e8f0;
    --epa-auth-bg:#f3f6fa;
    --epa-auth-danger:#dc2626;
    --epa-auth-success:#15803d;
}

.epa-auth-page{
    background:radial-gradient(circle at top left, rgba(20,184,166,.09), transparent 32%), var(--epa-auth-bg);
    padding:36px 14px 54px;
}

.epa-auth-wrap{
    max-width:1180px;
    margin:0 auto;
}

.epa-auth-card{
    display:grid;
    grid-template-columns:minmax(320px,.92fr) minmax(360px,1fr);
    background:#fff;
    border:1px solid rgba(226,232,240,.95);
    border-radius:26px;
    overflow:hidden;
    box-shadow:0 24px 58px rgba(15,23,42,.10);
}

.epa-auth-side{
    position:relative;
    min-height:560px;
    padding:44px;
    color:#fff;
    background:linear-gradient(145deg,#0f172a 0%, #12324b 48%, #0f766e 100%);
    overflow:hidden;
}

.epa-auth-side:before,
.epa-auth-side:after{
    content:"";
    position:absolute;
    border-radius:999px;
    background:rgba(255,255,255,.10);
}

.epa-auth-side:before{
    width:240px;
    height:240px;
    right:-80px;
    top:-80px;
}

.epa-auth-side:after{
    width:190px;
    height:190px;
    left:-70px;
    bottom:-70px;
}

.epa-auth-logo-box{
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:120px;
    min-height:74px;
    padding:12px 18px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 18px 34px rgba(0,0,0,.18);
    margin-bottom:34px;
}

.epa-auth-logo-box img{
    height:48px;
    width:auto;
    display:block;
}

.epa-auth-side h1{
    position:relative;
    z-index:1;
    max-width:420px;
    font-size:2.15rem;
    line-height:1.14;
    font-weight:900;
    letter-spacing:-.03em;
    margin:0 0 16px;
}

.epa-auth-side p{
    position:relative;
    z-index:1;
    max-width:430px;
    font-size:1rem;
    line-height:1.7;
    color:rgba(255,255,255,.84);
    margin:0;
}

.epa-auth-benefits{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:34px;
}

.epa-auth-benefits span{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:48px;
    padding:12px 14px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:16px;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-weight:700;
    font-size:.9rem;
}

.epa-auth-benefits i{
    color:#5eead4;
}

.epa-auth-formbox{
    padding:46px 52px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.epa-auth-head{
    margin-bottom:22px;
}

.epa-auth-kicker{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:8px;
    color:var(--epa-auth-primary);
    font-size:.78rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.epa-auth-head h2{
    color:var(--epa-auth-dark);
    font-size:2rem;
    line-height:1.15;
    font-weight:900;
    margin:0 0 8px;
    letter-spacing:-.03em;
}

.epa-auth-head p{
    margin:0;
    color:var(--epa-auth-muted);
    font-size:.96rem;
}

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

.epa-auth-field label{
    display:block;
    margin:0 0 7px;
    color:#334155;
    font-weight:800;
    font-size:.9rem;
}

.epa-auth-input{
    display:flex;
    align-items:center;
    min-height:50px;
    border:1px solid var(--epa-auth-border);
    border-radius:14px;
    background:#fff;
    transition:border-color .16s ease, box-shadow .16s ease;
}

.epa-auth-input:focus-within{
    border-color:rgba(15,118,110,.46);
    box-shadow:0 0 0 4px rgba(20,184,166,.11);
}

.epa-auth-input i{
    width:48px;
    color:#94a3b8;
    text-align:center;
    flex:0 0 48px;
}

.epa-auth-input input{
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:var(--epa-auth-dark);
    font-size:.96rem;
    padding:0 14px 0 0;
}

.epa-auth-input input:-webkit-autofill{
    -webkit-box-shadow:0 0 0 1000px #fff inset;
}

.epa-auth-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:-2px;
}

.epa-auth-check{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#475569;
    font-weight:700;
    font-size:.9rem;
    margin:0;
    cursor:pointer;
}

.epa-auth-check input{
    width:16px;
    height:16px;
    accent-color:var(--epa-auth-primary);
}

.epa-auth-submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:100%;
    min-height:52px;
    border:0;
    border-radius:14px;
    color:#fff;
    font-size:.98rem;
    font-weight:900;
    background:linear-gradient(135deg,var(--epa-auth-primary),var(--epa-auth-primary-2));
    box-shadow:0 16px 28px rgba(15,118,110,.18);
    transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.epa-auth-submit:hover,
.epa-auth-submit:focus{
    transform:translateY(-1px);
    box-shadow:0 20px 34px rgba(15,118,110,.24);
    background:linear-gradient(135deg,#0b5f59,var(--epa-auth-primary));
}

.epa-auth-switch{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:24px;
    padding-top:20px;
    border-top:1px solid #eef2f7;
    color:var(--epa-auth-muted);
    font-weight:700;
}

.epa-auth-switch a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 16px;
    border-radius:999px;
    background:#f0fdfa;
    color:var(--epa-auth-primary);
    font-weight:900;
    text-decoration:none;
}

.epa-auth-switch a:hover{
    background:#ccfbf1;
    color:#0b5f59;
    text-decoration:none;
}

.epa-auth-alert{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:13px 14px;
    border-radius:14px;
    font-weight:700;
    font-size:.92rem;
    margin-bottom:16px;
}

.epa-auth-alert p{
    margin:0 0 4px;
}

.epa-auth-alert p:last-child{
    margin-bottom:0;
}

.epa-auth-alert-danger{
    color:#991b1b;
    background:#fef2f2;
    border:1px solid #fecaca;
}

.epa-auth-alert-success{
    color:#14532d;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
}

.epa-auth-validation{
    display:block;
    color:var(--epa-auth-danger);
    font-size:.82rem;
    font-weight:700;
    margin-top:6px;
}

@media (max-width:991.98px){
    .epa-auth-page{
        padding:22px 12px 38px;
    }

    .epa-auth-card{
        grid-template-columns:1fr;
        border-radius:22px;
    }

    .epa-auth-side{
        min-height:auto;
        padding:26px 22px;
    }

    .epa-auth-logo-box{
        min-height:62px;
        margin-bottom:18px;
        border-radius:16px;
    }

    .epa-auth-logo-box img{
        height:38px;
    }

    .epa-auth-side h1{
        font-size:1.55rem;
    }

    .epa-auth-side p{
        font-size:.92rem;
        line-height:1.55;
    }

    .epa-auth-benefits{
        grid-template-columns:1fr 1fr;
        gap:8px;
        margin-top:20px;
    }

    .epa-auth-benefits span{
        min-height:42px;
        padding:9px 10px;
        border-radius:13px;
        font-size:.78rem;
    }

    .epa-auth-formbox{
        padding:26px 18px 24px;
    }

    .epa-auth-head h2{
        font-size:1.55rem;
    }

    .epa-auth-input{
        min-height:48px;
        border-radius:13px;
    }
}

@media (max-width:575.98px){
    .epa-auth-benefits{
        grid-template-columns:1fr;
    }

    .epa-auth-switch{
        align-items:stretch;
        flex-direction:column;
        text-align:center;
    }

    .epa-auth-switch a{
        width:100%;
    }
}
