```css
/* =========================================
   RESET
========================================= */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --background: #f5f7fb;
    --surface: #ffffff;

    --text-primary: #111827;
    --text-secondary: #6b7280;

    --border: #e5e7eb;

    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;

    --sidebar-width: 250px;
}

.login-page {
    background: #F4F7FB;
}
body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);
    color: var(--text-primary);

    min-height: 100vh;
}


/* =========================================
   SIDEBAR
========================================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;

    width: var(--sidebar-width);
    height: 100vh;

    background: #111827;
    color: white;

    display: flex;
    flex-direction: column;

    z-index: 1000;
}


.brand {
    height: 72px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 24px;

    border-bottom: 1px solid #1f2937;

    font-size: 20px;
    font-weight: 700;
}


.brand-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--primary);

    font-weight: 700;
}


.navigation {
    padding: 24px 14px;

    flex: 1;
}


.nav-link {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px 14px;

    margin-bottom: 5px;

    border-radius: 8px;

    color: #9ca3af;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: 0.2s ease;
}


.nav-link span:first-child {
    width: 20px;
    text-align: center;
}


.nav-link:hover {
    background: #1f2937;
    color: white;
}


.nav-link.active {
    background: #2563eb;
    color: white;
}


.nav-section-title {
    margin: 25px 14px 10px;

    font-size: 10px;

    font-weight: 700;

    color: #6b7280;

    letter-spacing: 1px;
}


.sidebar-footer {
    padding: 14px;
}


/* =========================================
   MAIN AREA
========================================= */

.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}


/* =========================================
   TOPBAR
========================================= */

.topbar {
    height: 72px;

    background: var(--surface);

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

    display: flex;
    align-items: center;

    justify-content: space-between;

    padding: 0 32px;

    position: sticky;
    top: 0;

    z-index: 100;
}


.topbar-left h1 {
    font-size: 20px;
}


.topbar-right {
    display: flex;
    align-items: center;

    gap: 24px;
}


.icon-button {
    position: relative;

    border: none;
    background: transparent;

    font-size: 18px;

    cursor: pointer;
}


.notification-dot {
    position: absolute;

    top: 0;
    right: 0;

    width: 7px;
    height: 7px;

    background: var(--danger);

    border-radius: 50%;

    border: 1px solid white;
}


.user-menu {
    display: flex;
    align-items: center;

    gap: 10px;
}


.avatar {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #dbeafe;
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
}


.user-info {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.user-info strong {
    font-size: 13px;
}


.user-info span {
    font-size: 11px;
    color: var(--text-secondary);
}


/* =========================================
   CONTENT
========================================= */

.content {
    padding: 32px;
}


.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 28px;
}


.page-header h2 {
    font-size: 25px;
    margin-bottom: 6px;
}


.page-header p {
    color: var(--text-secondary);
    font-size: 14px;
}


/* =========================================
   BUTTONS
========================================= */

.primary-button {
    background: var(--primary);

    border: none;

    color: white;

    padding: 11px 18px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}


.primary-button:hover {
    background: var(--primary-dark);
}


/* =========================================
   STATISTICS
========================================= */

.statistics {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 24px;
}


.stat-card {
    background: var(--surface);

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

    border-radius: 10px;

    padding: 20px;

    display: flex;

    align-items: center;

    gap: 15px;
}


.stat-icon {
    width: 46px;
    height: 46px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
}


.stat-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}


.stat-icon.orange {
    background: #fef3c7;
    color: #d97706;
}


.stat-icon.green {
    background: #dcfce7;
    color: #16a34a;
}


.stat-icon.red {
    background: #fee2e2;
    color: #dc2626;
}


.stat-label {
    display: block;

    color: var(--text-secondary);

    font-size: 12px;

    margin-bottom: 4px;
}


.stat-card h3 {
    font-size: 24px;

    margin-bottom: 4px;
}


.stat-card small {
    font-size: 10px;
}


.positive {
    color: var(--success);
}


.warning {
    color: var(--warning);
}


.danger {
    color: var(--danger);
}


/* =========================================
   DASHBOARD GRID
========================================= */

.dashboard-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 24px;
}


.panel {
    background: var(--surface);

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

    border-radius: 10px;

    overflow: hidden;
}


.panel-header {
    padding: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

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


.panel-header h3 {
    font-size: 15px;

    margin-bottom: 4px;
}


.panel-header p {
    font-size: 11px;

    color: var(--text-secondary);
}


.view-link {
    color: var(--primary);

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;
}


/* =========================================
   TABLE
========================================= */

.table-container {
    overflow-x: auto;
}


table {
    width: 100%;

    border-collapse: collapse;
}


th {
    padding: 13px 20px;

    text-align: left;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    color: var(--text-secondary);

    background: #f9fafb;
}


td {
    padding: 15px 20px;

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

    font-size: 12px;
}


.ticket-id {
    color: var(--primary);

    font-weight: 600;
}


.status,
.priority {
    display: inline-block;

    padding: 4px 8px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 600;
}


.status.open {
    background: #dbeafe;
    color: #1d4ed8;
}


.status.pending {
    background: #fef3c7;
    color: #92400e;
}


.status.resolved {
    background: #dcfce7;
    color: #166534;
}


.priority.high {
    background: #fee2e2;
    color: #991b1b;
}


.priority.medium {
    background: #fef3c7;
    color: #92400e;
}


.priority.low {
    background: #dcfce7;
    color: #166534;
}


/* =========================================
   ACTIVITY
========================================= */

.activity-list {
    padding: 8px 20px;
}


.activity-item {
    display: flex;

    gap: 12px;

    padding: 15px 0;

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


.activity-item:last-child {
    border-bottom: none;
}


.activity-avatar {
    width: 32px;
    height: 32px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #eff6ff;

    color: var(--primary);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 11px;

    font-weight: 700;
}


.activity-content {
    font-size: 11px;

    line-height: 1.5;
}


.activity-content strong {
    font-weight: 600;
}


.activity-time {
    display: block;

    color: var(--text-secondary);

    font-size: 10px;

    margin-top: 3px;
}


/* =========================================
   MOBILE MENU
========================================= */

.menu-button {
    display: none;

    border: none;

    background: transparent;

    font-size: 20px;

    cursor: pointer;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

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

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 768px) {

    .sidebar {
        transform: translateX(-100%);

        transition: transform 0.25s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0;
    }

    .menu-button {
        display: block;
    }

    .topbar {
        padding: 0 18px;
    }

    .topbar-left {
        display: none;
    }

    .user-info {
        display: none;
    }

    .content {
        padding: 20px;
    }

    .page-header {
        align-items: flex-start;

        gap: 15px;

        flex-direction: column;
    }

}


@media (max-width: 500px) {

    .statistics {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 15px;
    }

}

/* =========================================
   USER MANAGEMENT FORM
========================================= */

#createUserCard {
    margin-bottom: 24px;
}

#createUserForm {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--surface);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #dbeafe;
}

#createUserMessage {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--text-secondary);
}

#createUserForm > div:last-child {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
}

#createUserForm > div:last-child button[type="button"] {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    padding: 11px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

#createUserForm > div:last-child button[type="button"]:hover {
    background: #f9fafb;
}

@media (max-width: 600px) {

    #createUserForm {
        grid-template-columns: 1fr;
    }

}

.notification-wrapper {
    position: relative;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.notification-header strong {
    font-size: 14px;
    color: var(--text-primary);
}

.notification-header button {
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.notification-list {
    max-height: 360px;
    overflow-y: auto;
}

.notification-item {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s ease;
}

.notification-item:hover {
    background: #f9fafb;
}

.notification-item.unread {
    background: #eff6ff;
}

.notification-item.read {
    background: var(--surface);
}

.notification-message {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-primary);
}

.notification-time {
    margin-top: 5px;
    font-size: 11px;
    color: var(--text-secondary);
}

.notification-empty {
    padding: 28px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .notification-dropdown {
        position: fixed;
        top: 60px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
}