@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg:#080b18;
    --panel:rgba(255,255,255,.055);
    --line:rgba(255,255,255,.1);
    --text:#f8fafc;
    --muted:#9aa7bd;
    --violet:#8b5cf6;
    --blue:#6366f1
}

* {
    box-sizing:border-box
}

html {
    min-width:320px;
    scroll-behavior:smooth
}

body {
    margin:0;
    min-width:320px;
    min-height:100vh;
    color:var(--text);
    background:radial-gradient(circle at 70% 0,#182149 0,#0d1225 34%,var(--bg) 72%);
    font-family:'DM Sans','Segoe UI',sans-serif;
    line-height:1.5;
    overflow-x:hidden
}

.header {
    height:82px;
    max-width:1180px;
    margin:auto;
    padding:0 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid rgba(255,255,255,.06);
    position:relative;
    z-index:2
}

.logo {
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--text);
    font-family:'Space Grotesk','Segoe UI',sans-serif;
    font-weight:600;
    font-size:20px
}

.logo img {
    width:26px;
    height:26px;
    display:block
}

.header > div:last-child {
    color:var(--muted);
    font-size:13px
}

.header > div:last-child span {
    color:#c4b5fd !important
}

.layout {
    max-width:1180px;
    min-height:calc(100vh - 82px);
    margin:auto;
    display:grid;
    grid-template-columns:220px minmax(0,1fr)
}

.sidebar {
    padding:28px 18px;
    border-right:1px solid rgba(255,255,255,.06)
}

.sidebar div {
    margin-bottom:8px;
    padding:10px 12px;
    border:1px solid transparent;
    border-radius:9px;
    color:var(--muted);
    cursor:pointer;
    font-size:13px;
    transition:.2s
}

.sidebar div.active,
.sidebar div:hover {
    color:#f8fafc;
    border-color:rgba(139,92,246,.35);
    background:rgba(139,92,246,.1)
}

.content {
    min-width:0;
    padding:28px
}

.card {
    margin-bottom:16px;
    padding:24px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:16px;
    background:var(--panel);
    backdrop-filter:blur(18px)
}

.card h3 {
    margin:0 0 18px;
    color:var(--text);
    font-family:'Space Grotesk','Segoe UI',sans-serif;
    font-size:22px;
    line-height:1.08
}

.file {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.07);
    color:#e2e8f0;
    font-size:14px
}

.file:last-child {
    border-bottom:0
}

.status.online {
    color:#6ee7b7
}

.status.pending {
    color:#f59e0b
}

.status.offline {
    color:#f87171
}

.actions i {
    margin-left:10px;
    color:#8996ac;
    cursor:pointer;
    transition:.2s
}

.actions i:hover {
    color:#a78bfa
}

button {
    margin-top:12px;
    margin-right:8px;
    padding:10px 14px;
    border:1px solid rgba(139,92,246,.4);
    border-radius:9px;
    color:#f8fafc;
    background:linear-gradient(135deg,#8b5cf6,#6366f1);
    font:inherit;
    font-size:13px;
    cursor:pointer;
    transition:.2s
}

button:hover {
    transform:translateY(-1px);
    box-shadow:0 10px 25px rgba(139,92,246,.25)
}

.log {
    margin-top:6px;
    color:var(--muted);
    font-size:12px
}

@media(max-width:760px) {
    .header {
        height:72px;
        padding:0 18px
    }
    .header > div:last-child {
        font-size:12px;
        white-space:nowrap
    }
    .layout {
        display:block;
        min-height:calc(100vh - 72px)
    }
    .sidebar {
        display:flex;
        gap:8px;
        width:100%;
        padding:12px 18px;
        overflow-x:auto;
        border-right:0;
        border-bottom:1px solid rgba(255,255,255,.06)
    }
    .sidebar div {
        flex:0 0 auto;
        margin:0;
        white-space:nowrap
    }
    .content {
        padding:18px
    }
    .card {
        padding:20px 18px
    }
    .file {
        align-items:flex-start;
        flex-wrap:wrap
    }
}

