* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: #202938;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.panel-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SOL MENÜ */

.sidebar {
    width: 255px;
    min-width: 255px;
    background: #172033;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar-logo {
    height: 85px;
    display: flex;
    align-items: center;
    padding: 0 23px;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo-icon {
    width: 39px;
    height: 39px;
    border-radius: 10px;
    background: #3478f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: bold;
}

.sidebar-logo strong {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
}

.sidebar-logo small {
    display: block;
    color: #8995aa;
    font-size: 10px;
    margin-top: 4px;
    letter-spacing: 1.5px;
}

.menu-title {
    color: #7f8ba2;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.3px;
    padding: 25px 23px 10px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 23px;
    color: #aab5c8;
    text-decoration: none;
    font-size: 13px;
    border-left: 3px solid transparent;
    transition: .2s;
}

.menu-link span {
    width: 18px;
    font-size: 17px;
    text-align: center;
}

.menu-link:hover,
.menu-link.active {
    background: #25324a;
    color: #fff;
}

.menu-link.active {
    border-left-color: #4385ff;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 20px 23px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #aab5c8;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.sidebar-status,
.system-label span {
    width: 8px;
    height: 8px;
    background: #28c987;
    border-radius: 50%;
}

/* ANA ALAN */

.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 85px;
    background: #fff;
    border-bottom: 1px solid #e9edf3;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar strong {
    display: block;
    font-size: 15px;
}

.topbar small {
    display: block;
    color: #8b96a8;
    margin-top: 5px;
}

.system-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #637084;
}

.page-container {
    padding: 30px;
    flex: 1;
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    color: #929daf;
    font-size: 11px;
    border-top: 1px solid #e9edf3;
    background: #fff;
}

/* MOBİL */

@media (max-width: 768px) {

    .sidebar {
        width: 70px;
        min-width: 70px;
    }

    .sidebar-logo {
        padding: 0;
        justify-content: center;
    }

    .sidebar-logo > div,
    .menu-title,
    .menu-link:not(.active) {
        display: none;
    }

    .menu-link {
        justify-content: center;
        padding: 15px 0;
    }

    .menu-link span {
        font-size: 20px;
    }

    .sidebar-bottom {
        font-size: 0;
        justify-content: center;
        padding: 20px 0;
    }

    .topbar {
        padding: 0 15px;
    }

    .page-container {
        padding: 18px 12px;
    }

    .footer {
        padding: 15px;
        gap: 10px;
        flex-wrap: wrap;
    }
}

.stat-card,
.content-card {
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 10px;
    padding: 24px;
    height: 100%;
}

.stat-title {
    color: #78859a;
    font-size: 13px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    margin: 12px 0 5px;
    color: #202d42;
}

.stat-description {
    color: #9aa4b4;
    font-size: 12px;
}

.content-card h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.platform-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f4;
    font-size: 13px;
}

.platform-row:last-child {
    border-bottom: 0;
}

.platform-status {
    color: #8a96a8;
    font-size: 11px;
}