.floating-dark-mode-toggle {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    z-index: 1000;
    animation: floatInBottom var(--transition-slow) ease-out;
}

@keyframes floatInBottom {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dark-mode-toggle-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 10px var(--spacing-lg);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.dark-mode-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.dark-mode-icon {
    font-size: 18px;
    line-height: 1;
}

.dark-mode-text {
    font-size: 14px;
}

@media (max-width: 1550px) {
    .floating-dark-mode-toggle {
        bottom: 10px;
        right: 10px;
    }

    .dark-mode-toggle-btn {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .dark-mode-text {
        display: none;
    }

    .dark-mode-icon {
        font-size: 20px;
    }
}

@media (max-width: 1130px) {
    .floating-dark-mode-toggle {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-dark-mode-toggle {
        animation: none;
    }

    .dark-mode-toggle-btn {
        transition: none;
    }

    .dark-mode-toggle-btn:hover {
        transform: none;
    }
}