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

html, body {
    height: 100%;
    font-family: Segoe UI, Arial, sans-serif;
    background: var(--background, #F7F7FA);
}

.hub {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--sidebar, #3B0764);
    color: white;
}

.main {
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 70px;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.content {
    flex: 1;
    padding: 30px;
}
.dashboard {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

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

.mt-25 {
    margin-top: 25px;
}
.topbar {
    display: grid;
    grid-template-columns: 220px 1fr 180px;
    align-items: center;
    gap: 20px;
    height: 72px;
    padding: 0 25px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
}

.search-box {
    height: 44px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 12px;
}

    .search-box input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 15px;
    }

.topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.icon-button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    transition: .25s;
}

    .icon-button:hover {
        background: #f6f6f6;
    }

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

/*==================================================
    HEADER HUB
==================================================*/

.hub-header {
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hub-header-left {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.hub-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hub-user {
    color: #6b7280;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    background: #ef4444;
    color: #fff;
    transition: .2s;
}

    .hub-logout:hover {
        background: #dc2626;
        color: #fff;
    }

.hub-content {
    min-height: calc(100vh - 64px);
}