/* Dark Mode Toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    /* position: absolute;
    top: 20px;
    right: 20px; */
}

.dark-mode-label {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: #e5e5e5;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(145deg, #ffffff, #d0d0d0);
    border-radius: 50%;
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-switch.active {
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.15),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

.toggle-switch.active::before {
    left: 32px;
    background: linear-gradient(145deg, #8b5cf6, #7c3aed);
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.2),
        -3px -3px 6px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(139, 92, 246, 0.3);
}