* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: ltr;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
}

.dashboard {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2d2d2d;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow: scroll;
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 1000;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar.collapsed {
    transform: translateX(-250px);
}

/* Toggle Button */
.sidebar-toggle {
    position: fixed;
    bottom: 10px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #734625 0%, #442415 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.sidebar-toggle.sidebar-open {
    left: 270px;
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
}

.sidebar-toggle.sidebar-open i {
    transform: rotate(180deg);
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid #404040;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #734625 0%, #442415 100%);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 100px;
}

.user-info {
    flex: 1;
}

.user-info h3 {
    font-size: 14px;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 12px;
    color: #999;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-title {
    color: #999;
    font-size: 12px;
    padding: 0 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.nav-item {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border-left: solid 1px rgb(255 255 255);
    margin: 4px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-left: solid 3px #734625;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(75, 40, 23, 0.692);
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    background-color: #1a1a1a;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    width: calc(100% - 250px);
}

.main-content.sidebar-collapsed {
    margin-left: 0;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 20px 30px;
    background-color: #2d2d2d;
    border-bottom: 1px solid #404040;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
}

.logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 700;
    position: absolute;
    right: 1rem;
    overflow: hidden;
    border-right: solid 1px rgb(255 255 255);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-right: none;
    border-left: solid 1px rgb(255 255 255);
}