* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #080d16;
    color: #e8edf7;
    font-family: Arial, Helvetica, sans-serif;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 250px;
    background: #0c121d;
    border-right: 1px solid #1d2738;
    padding: 28px 18px;
}

.brand {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 45px;
}

.menu-title {
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    margin: 25px 10px 10px;
}

.sidebar a {
    display: block;
    padding: 13px 14px;
    margin: 5px 0;
    border-radius: 8px;
    color: #9aa6b8;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: #161e2b;
    color: white;
}

.content {
    margin-left: 250px;
    padding: 42px;
    max-width: 1500px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

header p {
    margin: 0;
    color: #778399;
}

.status {
    padding: 10px 16px;
    border-radius: 8px;
    background: #111927;
    border: 1px solid #263247;
    font-size: 14px;
}

.status span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.online span {
    background: #35d07f;
}

.offline span {
    background: #e05268;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.card,
.panel {
    background: #0d141f;
    border: 1px solid #1c2839;
    border-radius: 12px;
}

.card {
    padding: 24px;
}

.label {
    color: #718096;
    font-size: 12px;
    font-weight: 700;
}

.number {
    font-size: 32px;
    font-weight: 700;
    margin-top: 12px;
}

.panel {
    min-height: 400px;
}

.panel-header {
    padding: 24px;
    border-bottom: 1px solid #1c2839;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    margin: 0 0 7px;
}

.panel-header p {
    color: #778399;
    margin: 0;
}

.primary,
button {
    border: 0;
    border-radius: 8px;
    padding: 12px 20px;
    background: #635bff;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.empty {
    text-align: center;
    padding: 90px 20px;
}

.empty-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.empty h3 {
    margin: 10px 0;
}

.empty p {
    color: #778399;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 380px;
    background: #0d141f;
    border: 1px solid #1d293a;
    border-radius: 14px;
    padding: 38px;
    text-align: center;
}

.login-box h1 {
    margin-top: 20px;
}

.login-box p {
    color: #778399;
}

.login-box input {
    width: 100%;
    padding: 14px;
    margin: 20px 0 12px;
    background: #080d16;
    border: 1px solid #263247;
    border-radius: 8px;
    color: white;
}

.login-box button {
    width: 100%;
}

.error {
    background: #35151c;
    border: 1px solid #6e2937;
    color: #ff9aa9;
    padding: 10px;
    border-radius: 7px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .sidebar {
        width: 190px;
    }

    .content {
        margin-left: 190px;
        padding: 25px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
