
:root{
    --pv-red:#f20e19;
    --pv-red-2:#ff3347;
    --pv-bg:#07080b;
    --pv-panel:#0c0d12;
    --pv-card:#111218;
    --pv-text:#f7f8fb;
    --pv-muted:#9aa0af;
    --pv-border:rgba(255,255,255,.10);
}

*{box-sizing:border-box}

body.pv-login-page{
    margin:0;
    min-height:100vh;
    overflow-x:hidden;
    background:#050609;
    color:var(--pv-text);
    font-family:Inter,Segoe UI,Arial,sans-serif;
}

.pv-login-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(0,1.28fr) minmax(430px,.82fr);
    background:
        radial-gradient(circle at 15% 12%,rgba(242,14,25,.14),transparent 28%),
        radial-gradient(circle at 88% 15%,rgba(242,14,25,.10),transparent 22%),
        #050609;
}

.pv-brand-side{
    position:relative;
    overflow:hidden;
    min-height:100vh;
    border-right:1px solid rgba(242,14,25,.14);
    background:
        linear-gradient(90deg,rgba(7,8,11,.98),rgba(10,9,13,.93)),
        #07080b;
}

.pv-brand-side::after{
    content:"";
    position:absolute;
    width:900px;height:900px;
    border:2px solid rgba(242,14,25,.55);
    border-radius:50%;
    top:-560px;right:-420px;
    box-shadow:0 0 45px rgba(242,14,25,.25), inset 0 0 55px rgba(242,14,25,.08);
    pointer-events:none;
}

.pv-grid{
    position:absolute;inset:0;
    opacity:.16;
    background-image:
        linear-gradient(rgba(242,14,25,.16) 1px,transparent 1px),
        linear-gradient(90deg,rgba(242,14,25,.12) 1px,transparent 1px);
    background-size:52px 52px;
    mask-image:linear-gradient(90deg,transparent 0,#000 45%,#000 100%);
}

.pv-glow{
    position:absolute;
    width:320px;height:320px;border-radius:50%;
    filter:blur(75px);
    background:rgba(242,14,25,.14);
}
.pv-glow-top{right:-100px;top:80px}
.pv-glow-bottom{right:8%;bottom:-120px}

.pv-crown-watermark{
    position:absolute;
    right:7%;
    top:15%;
    font-size:360px;
    line-height:1;
    color:transparent;
    -webkit-text-stroke:2px rgba(242,14,25,.09);
    transform:rotate(-8deg);
    text-shadow:0 0 55px rgba(242,14,25,.06);
    user-select:none;
}

.pv-brand-content{
    position:relative;
    z-index:2;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    padding:58px clamp(42px,6vw,96px) 42px;
}

.pv-main-logo{
    width:min(540px,67%);
    height:auto;
    object-fit:contain;
    object-position:left center;
    filter:drop-shadow(0 0 14px rgba(242,14,25,.13));
}

.pv-accent-line{
    width:58px;height:4px;border-radius:999px;
    background:linear-gradient(90deg,var(--pv-red),#ff4a57);
    box-shadow:0 0 18px rgba(242,14,25,.42);
    margin:42px 0 34px;
}

.pv-hero-copy{max-width:720px}
.pv-hero-copy h1{
    margin:0;
    font-size:clamp(42px,4vw,68px);
    line-height:1.08;
    letter-spacing:-2px;
    font-weight:850;
}
.pv-hero-copy h1 span{
    color:var(--pv-red-2);
    text-shadow:0 0 24px rgba(242,14,25,.16);
}
.pv-hero-copy p{
    max-width:650px;
    margin:22px 0 0;
    color:#aeb4c2;
    font-size:18px;
    line-height:1.7;
}

.pv-features{
    margin-top:48px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px 44px;
    max-width:760px;
}
.pv-feature{
    display:grid;
    grid-template-columns:64px 1fr;
    align-items:center;
    gap:18px;
}
.pv-feature-icon{
    width:64px;height:64px;
    border-radius:15px;
    display:grid;place-items:center;
    background:linear-gradient(145deg,rgba(242,14,25,.15),rgba(242,14,25,.035));
    border:1px solid rgba(242,14,25,.22);
    box-shadow:inset 0 0 18px rgba(242,14,25,.04);
}
.pv-feature-icon svg{
    width:29px;height:29px;
    fill:#ff3347;
    filter:drop-shadow(0 0 8px rgba(242,14,25,.35));
}
.pv-feature strong{
    display:block;
    margin-bottom:6px;
    font-size:15px;
    color:#f5f6f9;
}
.pv-feature span{
    display:block;
    color:#989eac;
    font-size:13px;
    line-height:1.45;
}

.pv-left-footer{
    margin-top:auto;
    padding-top:42px;
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:28px;
}
.pv-footer-line{
    display:block;width:44px;height:3px;border-radius:99px;
    background:var(--pv-red);
    margin-bottom:12px;
}
.pv-left-footer p{margin:0 0 4px;font-size:13px}
.pv-left-footer small{color:#777f8e}
.pv-footer-words{
    color:#8f95a2;
    text-align:right;
    font-size:10px;
    line-height:1.8;
    letter-spacing:4px;
}

.pv-form-side{
    position:relative;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:42px;
    overflow:hidden;
    background:
        radial-gradient(circle at 85% 12%,rgba(242,14,25,.10),transparent 26%),
        linear-gradient(145deg,#08090c,#050609 72%);
}
.pv-form-glow{
    position:absolute;
    width:420px;height:420px;
    right:-170px;top:8%;
    border-radius:50%;
    background:rgba(242,14,25,.11);
    filter:blur(95px);
}
.pv-login-card{
    position:relative;
    z-index:2;
    width:min(520px,100%);
    padding:44px 42px 38px;
    border-radius:24px;
    background:
        linear-gradient(145deg,rgba(19,20,27,.95),rgba(10,11,15,.94));
    border:1px solid rgba(255,255,255,.10);
    box-shadow:
        0 35px 90px rgba(0,0,0,.55),
        0 0 45px rgba(242,14,25,.05),
        inset 0 1px 0 rgba(255,255,255,.025);
    backdrop-filter:blur(18px);
}
.pv-login-card::before{
    content:"";
    position:absolute;inset:-1px;
    border-radius:24px;
    padding:1px;
    background:linear-gradient(130deg,rgba(255,255,255,.12),transparent 30%,transparent 72%,rgba(242,14,25,.36));
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    pointer-events:none;
}
.pv-welcome{
    margin:0 0 14px;
    color:#ff4351;
    font-size:11px;
    font-weight:850;
    letter-spacing:3px;
}
.pv-card-logo{
    display:block;
    width:min(330px,86%);
    max-height:120px;
    object-fit:contain;
    object-position:left center;
    margin:0 0 12px;
    filter:drop-shadow(0 0 11px rgba(242,14,25,.10));
}
.pv-login-subtitle{
    margin:0 0 28px;
    color:#9ea5b4;
    font-size:14px;
}

.pv-auth-form{display:grid;gap:19px}
.pv-field{display:grid;gap:8px}
.pv-field>span{
    color:#f2f3f7;
    font-size:13px;
    font-weight:700;
}
.pv-input-wrap{
    position:relative;
    display:flex;
    align-items:center;
    height:54px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.11);
    background:linear-gradient(180deg,#15171c,#111217);
    transition:.18s ease;
}
.pv-input-wrap:focus-within{
    border-color:rgba(242,14,25,.75);
    box-shadow:0 0 0 3px rgba(242,14,25,.08),0 0 22px rgba(242,14,25,.09);
}
.pv-input-wrap>svg{
    width:20px;height:20px;
    margin-left:16px;
    fill:#8f96a5;
    flex:0 0 20px;
}
.pv-input-wrap input{
    width:100%;
    min-width:0;
    height:100%;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:#f5f6f8!important;
    box-shadow:none!important;
    padding:0 14px!important;
    font:inherit;
}
.pv-input-wrap input::placeholder{color:#777e8c}
.pv-password-toggle{
    position:static!important;
    flex:0 0 auto;
    border:0!important;
    background:transparent!important;
    color:#abb1bd!important;
    font-size:12px!important;
    font-weight:700!important;
    padding:0 14px!important;
    height:100%;
    cursor:pointer;
}

.pv-form-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:2px;
}
.pv-remember{
    display:flex!important;
    align-items:center;
    gap:9px;
    color:#b7bdc9;
    font-size:13px;
    cursor:pointer;
}
.pv-remember input{
    width:16px;height:16px;
    accent-color:var(--pv-red);
}
.pv-link{
    color:#ff4351;
    font-size:13px;
    font-weight:750;
    text-decoration:none;
}
.pv-link:hover{text-decoration:underline}

.pv-login-button{
    height:58px;
    border:0;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    color:#fff;
    font-size:15px;
    font-weight:850;
    cursor:pointer;
    background:linear-gradient(90deg,#ed1524,#ff3044);
    box-shadow:0 12px 32px rgba(242,14,25,.22), inset 0 1px 0 rgba(255,255,255,.16);
    transition:transform .18s ease, box-shadow .18s ease,filter .18s ease;
}
.pv-login-button:hover{
    transform:translateY(-1px);
    filter:brightness(1.05);
    box-shadow:0 16px 38px rgba(242,14,25,.29);
}
.pv-login-button span{font-size:21px;line-height:1}

.pv-divider{
    position:relative;
    height:32px;
    margin:7px 0 4px;
    display:grid;
    place-items:center;
}
.pv-divider::before{
    content:"";
    position:absolute;left:0;right:0;top:50%;
    height:1px;
    background:rgba(255,255,255,.10);
}
.pv-divider span{
    position:relative;
    z-index:2;
    padding:0 13px;
    background:#0e0f14;
    color:#7f8694;
    font-size:12px;
}

.pv-create-account{
    height:52px;
    border-radius:11px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.025);
    color:#b7bdc8;
    text-decoration:none;
    font-size:13px;
    transition:.18s ease;
}
.pv-create-account strong{color:#ff4351}
.pv-create-account:hover{
    border-color:rgba(242,14,25,.35);
    background:rgba(242,14,25,.035);
}

.pv-security{
    position:relative;
    z-index:2;
    width:min(520px,100%);
    margin-top:28px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    color:#8e95a3;
}
.pv-security svg{width:27px;height:27px;fill:#858d9c}
.pv-security strong,.pv-security span{
    display:block;
    font-size:11px;
    line-height:1.55;
}
.pv-security strong{color:#aeb4c0;font-weight:600}

.alert.alert-error{
    border-radius:10px;
    margin-bottom:18px;
    border:1px solid rgba(242,14,25,.35);
    background:rgba(242,14,25,.09);
    color:#ff7780;
    padding:12px 14px;
    font-size:13px;
}

@media (max-width:1100px){
    .pv-login-shell{grid-template-columns:1fr 500px}
    .pv-brand-content{padding-left:46px;padding-right:46px}
    .pv-features{grid-template-columns:1fr;gap:18px}
    .pv-feature:nth-child(n+3){display:none}
    .pv-main-logo{width:72%}
}

@media (max-width:860px){
    .pv-login-shell{display:block}
    .pv-brand-side{display:none}
    .pv-form-side{min-height:100vh;padding:28px 18px}
    .pv-login-card{padding:34px 24px 30px}
    .pv-card-logo{width:min(300px,90%)}
    .pv-security{margin-top:20px}
}

@media (max-width:480px){
    .pv-form-row{align-items:flex-start;flex-direction:column;gap:12px}
    .pv-login-card{border-radius:18px}
    .pv-card-logo{width:100%}
}
