body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #f4f6f8;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #181e2a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 2px 0 12px rgba(24,30,42,0.08);
    z-index: 100;
}

.sidebar-logo {
    padding: 2.2em 0 1.2em 0;
    text-align: center;
    border-bottom: 1px solid #232a3a;
}
.sidebar-logo img {
    width: 120px;
    height: auto;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 2em;
    padding: 0 1.5em;
}
.sidebar-menu-item {
    color: #bfc9da;
    text-decoration: none;
    padding: 0.9em 1em;
    border-radius: 8px;
    font-size: 1.08em;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
    margin-bottom: 0.2em;
}
.sidebar-menu-item.active, .sidebar-menu-item:hover {
    background: #232a3a;
    color: #fff;
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 0.9em;
    padding: 1.2em 1.5em;
    background: #232a3a;
    border-top: 1px solid #232a3a;
    cursor: pointer;
    position: relative;
    min-height: 70px;
}
.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #232a3a 60%, #181e2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #fff;
}
.user-info {
    flex: 1;
    min-width: 0;
}
.user-name {
    font-weight: 600;
    font-size: 1.08em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-email {
    font-size: 0.97em;
    color: #bfc9da;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-menu {
    display: none;
    position: absolute;
    left: 1.5em;
    bottom: 60px;
    background: #232a3a;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(24,30,42,0.12);
    min-width: 160px;
    z-index: 10;
    flex-direction: column;
    padding: 0.5em 0;
}
.user-menu.show {
    display: flex;
}
.user-menu-item {
    color: #bfc9da;
    text-decoration: none;
    padding: 0.8em 1.2em;
    border-radius: 6px;
    font-size: 1em;
    transition: background 0.18s, color 0.18s;
}
.user-menu-item:hover {
    background: #1976d2;
    color: #fff;
}

.dashboard-content {
    margin-left: 260px;
    flex: 1;
    padding: 2em;
    min-height: 100vh;
    background: #f9fafb;
    overflow-x: auto;
}
.dashboard-content h1 {
    font-size: 2.1em;
    font-weight: 700;
    margin-bottom: 0.7em;
    color: #181e2a;
}
.dashboard-content p {
    font-size: 1.15em;
    color: #232a3a;
}

@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: flex-start;
        min-height: 70px;
    }
    .dashboard-content {
        margin-left: 0;
        padding: 2em 1em;
    }
    .sidebar-logo, .sidebar-menu, .sidebar-user-card {
        padding: 1em 0.7em;
    }
} 