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

:root{

    --bg:#0f0f14;
    --bg2:#18181f;
    --bg3:#1e1e27;

    --card:#18181f;
    --card2:#1e1e27;

    --border:rgba(255,255,255,.09);
    --border2:rgba(255,255,255,.05);

    --text:#f0f0f5;
    --text2:#a0a0b0;
    --text3:#60607a;

    --red:#e8192c;
    --red2:#b80f20;

    --green:#22c55e;
    --yellow:#eab308;
    --orange:#f97316;
    --blue:#3b82f6;

    --red-glow:rgba(232,25,44,.18);

    --shadow:0 4px 24px rgba(0,0,0,.35);

    --radius:14px;
    --radius-sm:10px;

}

[data-theme="light"]{

    --bg:#f0f1f5;
    --bg2:#e8e9ef;
    --bg3:#dfe0e8;

    --card:#ffffff;
    --card2:#f7f7fb;

    --border:rgba(0,0,0,.08);
    --border2:rgba(0,0,0,.05);

    --text:#1a1a2e;
    --text2:#4a4a6a;
    --text3:#8888aa;

    --red-glow:rgba(232,25,44,.08);

    --shadow:0 2px 12px rgba(0,0,0,.08);

}

body{

    font-family:"Segoe UI",system-ui,sans-serif;

    background:var(--bg);

    color:var(--text);

    min-height:100vh;

    transition:.2s;

}

.admin-content{

    max-width:1300px;

    margin:auto;

    padding:24px 16px 40px;

}

.card{

    background:var(--card);

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

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.btn{

    cursor:pointer;

    border:none;

    border-radius:10px;

    font-family:inherit;

}

.btn-ghost{

    background:var(--bg3);

    color:var(--text2);

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

}

.btn-red{

    background:linear-gradient(180deg,var(--red),var(--red2));

    color:white;

}

.btn-green{

    background:linear-gradient(180deg,#22c55e,#16a34a);

    color:white;

}

.admin-header{

    background:var(--card);

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

    padding:18px 0;

}

.admin-top{

    display:flex;

    justify-content:space-between;

    align-items:center;
    
    margin-bottom:14px;

}

.admin-brand{

    display:flex;

    gap:14px;

    align-items:center;

}

.admin-logo{

    width:48px;
    height:48px;

    border-radius:14px;

    background:linear-gradient(145deg,var(--red-glow),transparent);

    border:1px solid rgba(232,25,44,.25);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

}

.admin-title{

    font-size:22px;

    font-weight:900;

}

.admin-title span{

    color:var(--red);

}

.admin-subtitle{

    font-size:11px;

    color:var(--text3);

    text-transform:uppercase;

    letter-spacing:.8px;

}

.admin-right{

    display:flex;

    gap:10px;

    align-items:center;

}

.admin-btn{

    text-decoration:none;

    color:var(--text2);

    padding:8px 14px;

    border-radius:10px;

    background:var(--bg3);

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

}

.admin-btn:hover{

    color:white;

}

.admin-nav{

    display:flex;

    gap:10px;

    margin-top:18px;

    padding-top:14px;

}

.admin-nav a{

    text-decoration:none;

    color:var(--text2);

    padding:10px 18px;

    border-radius:10px;

    transition:.15s;

}

.admin-nav a:hover{

    background:var(--bg3);

    color:white;

}

.admin-nav a.active{

    background:rgba(232,25,44,.12);

    border:1px solid rgba(232,25,44,.3);

    color:var(--red);

}

.theme-toggle{

    width:40px;

    height:24px;

    border-radius:999px;

    background:var(--bg3);

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

    position:relative;

    cursor:pointer;

}

.theme-toggle::after{

    content:"";

    position:absolute;

    width:16px;

    height:16px;

    top:3px;

    left:3px;

    border-radius:50%;

    background:var(--text3);

    transition:.2s;

}

[data-theme="light"] .theme-toggle::after{

    transform:translateX(16px);

    background:var(--red);

}

.admin-wrap{

    max-width:1300px;

    margin:0 auto;

}


