/* ==========================================================
   VALRYN DELETE ACCOUNT
   delete-account.css
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --bg:#05070d;
    --panel:#101827;
    --panel2:#161f32;

    --border:#233250;

    --primary:#2b6fff;
    --primaryHover:#4b82ff;

    --text:#ffffff;
    --muted:#9aa8c4;

    --danger:#ef4444;
    --dangerHover:#dc2626;
    --dangerSoft:rgba(239,68,68,.10);
    --dangerBorder:rgba(239,68,68,.42);

}

body{

    min-height:100vh;

    background:var(--bg);

    color:var(--text);

    font-family:Inter,Arial,sans-serif;

    overflow-x:hidden;

}

.delete-background{

    position:fixed;

    inset:0;

    background:
    radial-gradient(
        circle at 50% 10%,
        rgba(239,68,68,.12),
        transparent 40%
    ),
    linear-gradient(
        rgba(5,7,13,.93),
        rgba(5,7,13,.98)
    ),
    url("../assets/images/V-HQ.jpg");

    background-size:cover;

    background-position:center;

    z-index:-2;

}

.delete-background::after{

    content:"";

    position:absolute;

    inset:0;

    backdrop-filter:blur(12px);

}

.topbar{

    height:80px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 30px;

    background:rgba(16,24,39,.92);

    border-bottom:1px solid var(--border);

    backdrop-filter:blur(18px);

}

.brand{

    display:flex;

    align-items:center;

    gap:12px;

    color:#fff;

    text-decoration:none;

}

.brand img{

    width:50px;

    height:50px;

    object-fit:contain;

}

.brand span{

    font-size:1.3rem;

    font-weight:700;

}

.back-button{

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

}

.back-button:hover{

    color:var(--primaryHover);

}

.delete-page{

    width:100%;

    max-width:720px;

    margin:50px auto;

    padding:0 24px 50px;

}

.delete-card{

    padding:38px;

    background:rgba(16,24,39,.94);

    border:1px solid var(--dangerBorder);

    border-radius:20px;

    box-shadow:
        0 30px 70px rgba(0,0,0,.42),
        0 0 50px rgba(239,68,68,.05);

    backdrop-filter:blur(18px);

}

.warning-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:58px;

    height:58px;

    margin-bottom:24px;

    border:1px solid var(--dangerBorder);

    border-radius:50%;

    background:var(--dangerSoft);

    color:#f87171;

    font-size:1.8rem;

    font-weight:800;

}

.heading{

    margin-bottom:28px;

}

.eyebrow{

    margin-bottom:10px;

    color:#f87171;

    font-size:.86rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.heading h1{

    margin-bottom:12px;

    font-size:2rem;

}

.heading p{

    color:var(--muted);

    line-height:1.65;

}

.warning-panel{

    margin-bottom:30px;

    padding:22px;

    background:var(--dangerSoft);

    border:1px solid var(--dangerBorder);

    border-radius:14px;

}

.warning-panel h2{

    margin-bottom:14px;

    font-size:1.05rem;

}

.warning-panel ul{

    padding-left:20px;

    color:var(--muted);

}

.warning-panel li{

    margin-bottom:10px;

    line-height:1.55;

}

.warning-panel li:last-child{

    margin-bottom:0;

}

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;

    margin-bottom:9px;

    font-weight:600;

}

.password-box{

    display:flex;

    align-items:center;

    overflow:hidden;

    background:var(--panel2);

    border:1px solid var(--border);

    border-radius:12px;

    transition:.25s;

}

.password-box:focus-within{

    border-color:var(--danger);

    box-shadow:0 0 0 3px rgba(239,68,68,.12);

}

.password-box input{

    flex:1;

    width:100%;

    padding:15px 16px;

    border:none;

    outline:none;

    background:transparent;

    color:#fff;

    font-size:1rem;

}

.password-box button{

    align-self:stretch;

    padding:0 17px;

    border:none;

    border-left:1px solid var(--border);

    background:transparent;

    color:var(--muted);

    cursor:pointer;

    font-weight:700;

}

.password-box button:hover{

    color:#fff;

}

.confirmation-row{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-bottom:8px;

    color:var(--muted);

    line-height:1.55;

    cursor:pointer;

}

.confirmation-row input{

    width:18px;

    height:18px;

    margin-top:3px;

    accent-color:var(--danger);

    flex-shrink:0;

}

.error{

    display:block;

    min-height:20px;

    margin-top:8px;

    color:#fca5a5;

    font-size:.88rem;

}

.confirmation-error{

    margin-bottom:8px;

}

.form-message{

    min-height:22px;

    margin-bottom:14px;

    color:#fca5a5;

    font-size:.92rem;

    text-align:center;

}

.delete-button{

    width:100%;

    padding:16px;

    border:1px solid var(--danger);

    border-radius:13px;

    background:var(--danger);

    color:#fff;

    font-size:1rem;

    font-weight:800;

    cursor:pointer;

    transition:.25s;

}

.delete-button:hover:not(:disabled){

    background:var(--dangerHover);

    border-color:var(--dangerHover);

    transform:translateY(-2px);

}

.delete-button:disabled{

    opacity:.65;

    cursor:not-allowed;

}

.cancel-button{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    margin-top:14px;

    padding:15px;

    border:1px solid var(--border);

    border-radius:13px;

    background:transparent;

    color:var(--muted);

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.cancel-button:hover{

    border-color:var(--primary);

    color:#fff;

}

@media(max-width:600px){

    .topbar{

        height:72px;

        padding:0 18px;

    }

    .brand img{

        width:44px;

        height:44px;

    }

    .delete-page{

        margin-top:28px;

        padding:0 16px 35px;

    }

    .delete-card{

        padding:25px;

    }

    .heading h1{

        font-size:1.65rem;

    }

}

@media(max-width:420px){

    .brand span{

        display:none;

    }

}