/* Common Header Styles - Hamburger Menu */
:root {
    --color-emerald: #10B981;
    --color-indigo: #4F46E5;
    --color-gray-light: #F3F4F6;
    --color-gray-medium: #9CA3AF;
    --color-gray-dark: #1F2937;
}

.hamburger-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.hamburger-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.hamburger-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.hamburger-btn span {
    width: 22px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.hamburger-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.12);
    transition: left 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.hamburger-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-indigo));
    color: white;
    position: relative;
    z-index: 1;
}

.menu-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    position: relative;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-weight: 400;
}

.menu-item i {
    width: 24px;
    margin-right: 12px;
    font-size: 1rem;
    color: #666;
    transition: color 0.2s;
}

.menu-item:hover {
    background: #f5f5f5;
    border-left-color: #1a1a1a;
    padding-left: 23px;
}

.menu-item:hover i {
    color: #1a1a1a;
}

.menu-item.active {
    background: #f8f8f8;
    border-left-color: #1a1a1a;
    color: #1a1a1a;
    font-weight: 600;
}

.menu-item.active i {
    color: #1a1a1a;
}

/* Logout Button */
.menu-footer {
    padding: 20px;
    border-top: 1px solid var(--color-gray-light);
    margin-top: auto;
}

.menu-logout-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-indigo));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.menu-logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.menu-logout-btn i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger-menu {
        width: 280px;
    }
}

