/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

/* Dark Mode Toggle in Dark Mode */
body.dark-mode .dark-mode-toggle {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
}

body.dark-mode .dark-mode-toggle:hover {
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.6);
}

/* Toggle Animation */
.toggle-icon {
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover .toggle-icon {
    transform: rotate(180deg);
}

/* Keyboard Shortcut Hint */
.dark-mode-toggle::after {
    content: 'Ctrl+Shift+D';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.dark-mode-toggle:hover::after {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dark-mode-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: 15px;
        left: 15px;
    }
    
    .dark-mode-toggle::after {
        display: none;
    }
}
